aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-07-13 18:34:52 +0200
committerFelix Fietkau <nbd@nbd.name>2016-07-13 18:41:25 +0200
commit70cf8c304851f58c8411c8053954cdefcf9f234a (patch)
treeea3e006d70f17e6d86daf846d60933c5ff0f3259 /target
parent6f86d2e2ab25f7fb8e915556d025f007f41cece6 (diff)
downloadupstream-70cf8c304851f58c8411c8053954cdefcf9f234a.tar.gz
upstream-70cf8c304851f58c8411c8053954cdefcf9f234a.tar.bz2
upstream-70cf8c304851f58c8411c8053954cdefcf9f234a.zip
ar71xx: fix build error when initramfs is disabled
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target')
-rw-r--r--target/linux/ar71xx/image/legacy.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/image/legacy.mk b/target/linux/ar71xx/image/legacy.mk
index 680dece15b..b9a7f13cae 100644
--- a/target/linux/ar71xx/image/legacy.mk
+++ b/target/linux/ar71xx/image/legacy.mk
@@ -1156,7 +1156,7 @@ endef
define Image/Build/Profile
$(call Image/Build/Profile/$(1),buildkernel)
- $(call Image/Build/Profile/$(1),initramfs)
+ $(if $(CONFIG_TARGET_ROOTFS_INITRAMFS),$(call Image/Build/Profile/$(1),initramfs))
$(call Image/Build/Profile/$(1),$(2))
endef