aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2014-01-15 18:38:51 +0000
committerLuka Perkov <luka@openwrt.org>2014-01-15 18:38:51 +0000
commita467c52eca666b81c319cb9437234ce2e6e230ec (patch)
treed66057a75020ddcce24496dda4339996593acfaf /target
parenta844275f37ae06b2097c6f33545f1958ec9a90d1 (diff)
downloadupstream-a467c52eca666b81c319cb9437234ce2e6e230ec.tar.gz
upstream-a467c52eca666b81c319cb9437234ce2e6e230ec.tar.bz2
upstream-a467c52eca666b81c319cb9437234ce2e6e230ec.zip
mvebu: fix build failures when initramfs is not selected
Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 39301
Diffstat (limited to 'target')
-rw-r--r--target/linux/mvebu/image/Makefile2
1 files changed, 2 insertions, 0 deletions
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