From: Felix Fietkau Date: Fri, 29 May 2015 13:41:31 +0000 (+0000) Subject: build: do not call initramfs build from within the image builder X-Git-Tag: reboot~2913 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=bf93fde164dfddc1193076a94ef150e046e9f35e;p=openwrt%2Fstaging%2Fchunkeey.git build: do not call initramfs build from within the image builder Signed-off-by: Felix Fietkau SVN-Revision: 45837 --- diff --git a/include/image.mk b/include/image.mk index 051f0f7e53..36c6c63320 100644 --- a/include/image.mk +++ b/include/image.mk @@ -471,7 +471,7 @@ define BuildImage kernel_prepare: mkfs_prepare $(call Image/BuildKernel) - $(if $(CONFIG_TARGET_ROOTFS_INITRAMFS),$(call Image/BuildKernel/Initramfs)) + $(if $(CONFIG_TARGET_ROOTFS_INITRAMFS),$(if $(IB),,$(call Image/BuildKernel/Initramfs))) $(call Image/InstallKernel) $(foreach device,$(TARGET_DEVICES),$(call Device,$(device)))