ar71xx: fix build error when initramfs is disabled

Signed-off-by: Felix Fietkau <nbd@nbd.name>
lede-17.01
Felix Fietkau 2016-07-13 18:34:52 +02:00
parent 6f86d2e2ab
commit 70cf8c3048
1 changed files with 1 additions and 1 deletions

View File

@ -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