summaryrefslogtreecommitdiff
path: root/target/linux/mvebu
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/linux/mvebu
parenta844275f37ae06b2097c6f33545f1958ec9a90d1 (diff)
downloadmtk-20170518-a467c52eca666b81c319cb9437234ce2e6e230ec.zip
mtk-20170518-a467c52eca666b81c319cb9437234ce2e6e230ec.tar.gz
mtk-20170518-a467c52eca666b81c319cb9437234ce2e6e230ec.tar.bz2
mvebu: fix build failures when initramfs is not selected
Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 39301
Diffstat (limited to 'target/linux/mvebu')
-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 af29c2b..1e4a791 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