aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/image/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-09-03 10:40:11 +0200
committerFelix Fietkau <nbd@nbd.name>2016-09-03 10:47:42 +0200
commit358cd6d9eb70297f0eccb731829562f34fc0857d (patch)
treec892112d7aa517fbd7e12f84ded544bda8f69b5e /target/linux/ramips/image/Makefile
parentdbc9ee5b722f3a8a359bdbd20b11c5a0239cb0b3 (diff)
downloadupstream-358cd6d9eb70297f0eccb731829562f34fc0857d.tar.gz
upstream-358cd6d9eb70297f0eccb731829562f34fc0857d.tar.bz2
upstream-358cd6d9eb70297f0eccb731829562f34fc0857d.zip
ramips: fix legacy initramfs images
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/ramips/image/Makefile')
-rw-r--r--target/linux/ramips/image/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ramips/image/Makefile b/target/linux/ramips/image/Makefile
index ef30c79a4e..7b53a2f744 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