diff options
author | lars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-04-10 18:37:34 +0000 |
---|---|---|
committer | lars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-04-10 18:37:34 +0000 |
commit | d531754b838a68f07dca3e835c385d3201ebc746 (patch) | |
tree | 91eacfa598ce84efa4216adfa1a08013967e0ded /target/linux/mx2/image | |
parent | fc6a5146e946d71b799a695540e7f7c444427a3c (diff) |
[kernel] Add mx2 target with very basic support for the vp6500 voip phone
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20786 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/mx2/image')
-rw-r--r-- | target/linux/mx2/image/Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/target/linux/mx2/image/Makefile b/target/linux/mx2/image/Makefile new file mode 100644 index 0000000000..12fbe4ee4f --- /dev/null +++ b/target/linux/mx2/image/Makefile @@ -0,0 +1,22 @@ +include $(TOPDIR)/rules.mk +include $(INCLUDE_DIR)/image.mk + +JFFS2_BLOCKSIZE=128k 16k +#JFFS2OPTS += -n -s 2048 +JFFS2OPTS += -n + +define Image/BuildKernel + mkdir -p $(BIN_DIR) + cp $(KDIR)/vmlinuz $(BIN_DIR)/openwrt-$(BOARD)-zImage +endef + +define Image/Prepare + cp $(LINUX_DIR)/arch/arm/boot/zImage $(KDIR)/vmlinuz +endef + + +define Image/Build/squashfs + $(call prepare_generic_squashfs,$(BIN_DIR)/openwrt-$(BOARD)-$(KERNEL)-root.$(1)) +endef + +$(eval $(call BuildImage)) |