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

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42874 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2014-10-12 15:00:11 +00:00
parent 25f63fe71e
commit 23a100cc84
1 changed files with 4 additions and 2 deletions

View File

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