aboutsummaryrefslogtreecommitdiffstats
path: root/include/image.mk
diff options
context:
space:
mode:
Diffstat (limited to 'include/image.mk')
-rw-r--r--include/image.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/image.mk b/include/image.mk
index e29bb001d5..307de27500 100644
--- a/include/image.mk
+++ b/include/image.mk
@@ -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)