From: Luka Perkov Date: Wed, 15 Jan 2014 18:38:51 +0000 (+0000) Subject: mvebu: fix build failures when initramfs is not selected X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=830cc0c62192312fa368c18515c893e37345fcdf;p=15.05%2Fopenwrt.git mvebu: fix build failures when initramfs is not selected Signed-off-by: Luka Perkov git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39301 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/target/linux/mvebu/image/Makefile b/target/linux/mvebu/image/Makefile index af29c2baae..1e4a7910e3 100644 --- a/target/linux/mvebu/image/Makefile +++ b/target/linux/mvebu/image/Makefile @@ -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