From d55205b171b6cc2746a89be87f45d56ae2588eee Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Mon, 2 Sep 2013 07:42:03 +0000 Subject: 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37871 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/ar71xx/image/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'target/linux/ar71xx') 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 -- cgit v1.2.3