image.mk: call mkfs/prepare for the image builder

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

SVN-Revision: 42874
lede-17.01
Felix Fietkau 2014-10-12 15:00:11 +00:00
parent 71617f21a5
commit 7cbdc57b40
1 changed files with 4 additions and 2 deletions

View File

@ -263,10 +263,12 @@ define BuildImage
image_prepare: compile FORCE
$(call Image/Prepare)
$(call Image/mkfs/prepare)
endif
install: image_prepare install-targets FORCE
mkfs_prepare: image_prepare
$(call Image/mkfs/prepare)
install: mkfs_prepare install-targets FORCE
$(call Image/BuildKernel)
$(if $(CONFIG_TARGET_ROOTFS_INITRAMFS),$(call Image/BuildKernel/Initramfs))
$(call Image/InstallKernel)