aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-09-02 07:42:03 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-09-02 07:42:03 +0000
commite7a5947576831bfdc9751b7d8bafc55b28b47f9e (patch)
tree0278671aba6100b70093e0556b7f246e198b6e89 /target/linux
parent968ed2e58a88c57b0e9d9dcda1e00c07e2171443 (diff)
downloadupstream-e7a5947576831bfdc9751b7d8bafc55b28b47f9e.tar.gz
upstream-e7a5947576831bfdc9751b7d8bafc55b28b47f9e.tar.bz2
upstream-e7a5947576831bfdc9751b7d8bafc55b28b47f9e.zip
ar71xx: fix initramfs image generation for Cameo933x profiles
Initramfs images are not generated for profiles which are using the squashfs-only template. Add the missing 'Image/Build/Template/squashfs-only/initramfs' to fix that. Also, 'Image/Build/Cameo933x/initramfs' uses wrong parameters for 'MkuImageLzma/initramfs' due to a misplaced commma. Remove that to fix the generated initramfs images. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37871
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ar71xx/image/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
index b755a9d324..e78679093d 100644
--- a/target/linux/ar71xx/image/Makefile
+++ b/target/linux/ar71xx/image/Makefile
@@ -386,7 +386,7 @@ define Image/Build/Cameo933x
endef
define Image/Build/Cameo933x/initramfs
- $(call MkuImageLzma/initramfs,$(2),$(3),$(cameo933x_mtdlayout))
+ $(call MkuImageLzma/initramfs,$(2),$(3) $(cameo933x_mtdlayout))
endef
define Image/Build/Cameo933x_8M
@@ -816,6 +816,10 @@ define Image/Build/Template/squashfs-only/squashfs
$(call Image/Build/$(1),squashfs,$(2),$(3),$(4),$(5),$(6),$(7),$(8))
endef
+define Image/Build/Template/squashfs-only/initramfs
+ $(call Image/Build/$(1)/initramfs,initramfs,$(2),$(3),$(4),$(5),$(6),$(7),$(8))
+endef
+
define Image/Build/Template/64k/loader
$(call Image/Build/$(1)/loader,$(2),$(3),$(4),$(5),$(6),$(7),$(8))
endef