aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-03-27 19:38:13 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-03-27 19:38:13 +0000
commit2082a166ecb34a88a16f8209b03e32203158e202 (patch)
treec1b1bba846c9240b738723c8c04a390dfeabe1b4 /target/linux/ar71xx
parent4251611f6f082bc2d0cec2bd0cb00d622052441f (diff)
downloadupstream-2082a166ecb34a88a16f8209b03e32203158e202.tar.gz
upstream-2082a166ecb34a88a16f8209b03e32203158e202.tar.bz2
upstream-2082a166ecb34a88a16f8209b03e32203158e202.zip
ar71xx: image: build initramfs images for more boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31116 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx')
-rw-r--r--target/linux/ar71xx/image/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
index da4d1fde5c..46eac5e12d 100644
--- a/target/linux/ar71xx/image/Makefile
+++ b/target/linux/ar71xx/image/Makefile
@@ -221,11 +221,19 @@ define Image/Build/Cameo913x
$(call Image/Build/Cameo,$(1),$(2),$(3),$(cameo913x_mtdlayout),983040,2949120,$(4))
endef
+define Image/Build/Cameo913x/initramfs
+ $(call MkuImageLzma/initramfs,$(2),$(3) $(cameo913x_mtdlayout))
+endef
+
cameo7240_mtdlayout=mtdparts=spi0.0:192k(u-boot)ro,64k(nvram)ro,960k(kernel),2752k(rootfs),64k(mac)ro,64k(art)ro,3712k@0x40000(firmware)
define Image/Build/Cameo7240
$(call Image/Build/Cameo,$(1),$(2),$(3),$(cameo7240_mtdlayout),983040,2818048,$(4))
endef
+define Image/Build/Cameo7240/initramfs
+ $(call MkuImageLzma/initramfs,$(2),$(3) $(cameo7240_mtdlayout))
+endef
+
define Image/Build/Ath
$(call Sysupgrade/$(7),$(1),$(2),$(5),$(6))
if [ -e "$(call sysupname,$(1),$(2))" ]; then \
@@ -342,6 +350,10 @@ define Image/Build/ALFA
fi
endef
+define Image/Build/ALFA/initramfs
+ $(call MkuImageLzma/initramfs,$(2),$(3))
+endef
+
define Image/Build/TPLINKOLD/loader
$(call Image/BuildLoaderAlone,$(1),gz,$(2),0x22000,0)
endef
@@ -568,6 +580,10 @@ define Image/Build/Zcomax
fi
endef
+define Image/Build/Zcomax/initramfs
+ $(call MkuImageLzma/initramfs,$(2),$(3))
+endef
+
define Image/Build/Template/initramfs/initramfs
$(call Image/Build/$(1)/initramfs,initramfs,$(2),$(3),$(4),$(5),$(6),$(7),$(8))
endef