aboutsummaryrefslogtreecommitdiffstats
path: root/include/image.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-10-12 15:00:11 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-10-12 15:00:11 +0000
commit7cbdc57b40b2ab3b9c53d85d5eedbba260b082ef (patch)
treeccc98b7a966df77a712914dccd15eb8a72b38b06 /include/image.mk
parent71617f21a58de15af82e460d5034ad16eaf314ef (diff)
downloadupstream-7cbdc57b40b2ab3b9c53d85d5eedbba260b082ef.tar.gz
upstream-7cbdc57b40b2ab3b9c53d85d5eedbba260b082ef.tar.bz2
upstream-7cbdc57b40b2ab3b9c53d85d5eedbba260b082ef.zip
image.mk: call mkfs/prepare for the image builder
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42874
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)