From 70cf8c304851f58c8411c8053954cdefcf9f234a Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 13 Jul 2016 18:34:52 +0200 Subject: [PATCH] ar71xx: fix build error when initramfs is disabled Signed-off-by: Felix Fietkau --- target/linux/ar71xx/image/legacy.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.25.1