diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2010-04-10 18:37:34 +0000 |
---|---|---|
committer | Lars-Peter Clausen <lars@metafoo.de> | 2010-04-10 18:37:34 +0000 |
commit | 1d8823ae6163ffde33a3acf0da8f1f1865d05efc (patch) | |
tree | a3a5ab8e4a1580e2e5bbfa383a410846d69924b0 /target/linux/mx2/image | |
parent | 135c4b8d05fb456aa9a866e585c256fe9d395e31 (diff) | |
download | upstream-1d8823ae6163ffde33a3acf0da8f1f1865d05efc.tar.gz upstream-1d8823ae6163ffde33a3acf0da8f1f1865d05efc.tar.bz2 upstream-1d8823ae6163ffde33a3acf0da8f1f1865d05efc.zip |
Add mx2 target with very basic support for the vp6500 voip phone
SVN-Revision: 20786
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)) |