build: do not call initramfs build from within the image builder

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45837
This commit is contained in:
Felix Fietkau 2015-05-29 13:41:31 +00:00
parent d1372992c4
commit bf93fde164

View File

@ -471,7 +471,7 @@ define BuildImage
kernel_prepare: mkfs_prepare kernel_prepare: mkfs_prepare
$(call Image/BuildKernel) $(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) $(call Image/InstallKernel)
$(foreach device,$(TARGET_DEVICES),$(call Device,$(device))) $(foreach device,$(TARGET_DEVICES),$(call Device,$(device)))