[source] ramips: fix legacy initramfs images

LEDE Commits lede-commits at lists.infradead.org
Sat Sep 3 01:47:55 PDT 2016


nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/358cd6d9eb70297f0eccb731829562f34fc0857d

commit 358cd6d9eb70297f0eccb731829562f34fc0857d
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Sat Sep 3 10:40:11 2016 +0200

    ramips: fix legacy initramfs images
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 target/linux/ramips/image/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile
index ef30c79..7b53a2f 100644
--- a/target/linux/ramips/image/Makefile
+++ b/target/linux/ramips/image/Makefile
@@ -300,6 +300,7 @@ define Image/Build
 endef
 
 define Image/Build/Profile
+	$(if $(CONFIG_TARGET_ROOTFS_INITRAMFS),$(call Image/Build/Profile/$(1),initramfs))
 	$(call Image/Build/Profile/$(1),$(2))
 endef
 



More information about the lede-commits mailing list