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
This commit is contained in:
parent
968ed2e58a
commit
e7a5947576
1 changed files with 5 additions and 1 deletions
|
@ -386,7 +386,7 @@ define Image/Build/Cameo933x
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Image/Build/Cameo933x/initramfs
|
define Image/Build/Cameo933x/initramfs
|
||||||
$(call MkuImageLzma/initramfs,$(2),$(3),$(cameo933x_mtdlayout))
|
$(call MkuImageLzma/initramfs,$(2),$(3) $(cameo933x_mtdlayout))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Image/Build/Cameo933x_8M
|
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))
|
$(call Image/Build/$(1),squashfs,$(2),$(3),$(4),$(5),$(6),$(7),$(8))
|
||||||
endef
|
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
|
define Image/Build/Template/64k/loader
|
||||||
$(call Image/Build/$(1)/loader,$(2),$(3),$(4),$(5),$(6),$(7),$(8))
|
$(call Image/Build/$(1)/loader,$(2),$(3),$(4),$(5),$(6),$(7),$(8))
|
||||||
endef
|
endef
|
||||||
|
|
Loading…
Reference in a new issue