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 | cc8fabf33ff676e935c035a94ed5d6380ffb4ebe (patch) | |
tree | 91eacfa598ce84efa4216adfa1a08013967e0ded /target/linux/mx2/image/Makefile | |
parent | 1d31ff06952c3ba830b3fed8a5e7c46bc42c951c (diff) | |
download | upstream-cc8fabf33ff676e935c035a94ed5d6380ffb4ebe.tar.gz upstream-cc8fabf33ff676e935c035a94ed5d6380ffb4ebe.tar.bz2 upstream-cc8fabf33ff676e935c035a94ed5d6380ffb4ebe.zip |
[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/Makefile')
-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)) |