mvebu: fix build failures when initramfs is not selected
authorLuka Perkov <luka@openwrt.org>
Wed, 15 Jan 2014 18:38:51 +0000 (18:38 +0000)
committerLuka Perkov <luka@openwrt.org>
Wed, 15 Jan 2014 18:38:51 +0000 (18:38 +0000)
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 39301

target/linux/mvebu/image/Makefile

index af29c2b..1e4a791 100644 (file)
@@ -30,7 +30,9 @@ endef
 
 define Image/BuildKernel
        $(foreach dtb,$(TARGET_DTBS),$(call Image/Build/DTB,$(dtb)))
+ ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),)
        $(call Image/Build/Initramfs)
+ endif
 endef
 
 define Image/Build/squashfs