summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx
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/linux/ar71xx
parent6f86d2e2ab25f7fb8e915556d025f007f41cece6 (diff)
downloadmtk-20170518-70cf8c304851f58c8411c8053954cdefcf9f234a.zip
mtk-20170518-70cf8c304851f58c8411c8053954cdefcf9f234a.tar.gz
mtk-20170518-70cf8c304851f58c8411c8053954cdefcf9f234a.tar.bz2
ar71xx: fix build error when initramfs is disabled
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/ar71xx')
-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 680dece..b9a7f13 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