summaryrefslogtreecommitdiff
path: root/target/Makefile
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-03-13 17:29:40 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-03-13 17:29:40 +0000
commit6a57a1fbdb26ac24e940b19a801ecdaa64038e3d (patch)
tree992968f520f24d911f2ca322defc00a9759d172c /target/Makefile
parentff909edf948c943f9dee5d7acae6f2927a944ec2 (diff)
downloadmtk-20170518-6a57a1fbdb26ac24e940b19a801ecdaa64038e3d.zip
mtk-20170518-6a57a1fbdb26ac24e940b19a801ecdaa64038e3d.tar.gz
mtk-20170518-6a57a1fbdb26ac24e940b19a801ecdaa64038e3d.tar.bz2
imagebuilder: fix parallel building (closes #11117)
SVN-Revision: 30927
Diffstat (limited to 'target/Makefile')
-rw-r--r--target/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/target/Makefile b/target/Makefile
index ff547f6..81ec602 100644
--- a/target/Makefile
+++ b/target/Makefile
@@ -10,7 +10,10 @@ $(curdir)/builddirs:=linux sdk imagebuilder toolchain
$(curdir)/builddirs-default:=linux
$(curdir)/builddirs-install:=linux $(if $(CONFIG_SDK),sdk) $(if $(CONFIG_IB),imagebuilder) $(if $(CONFIG_MAKE_TOOLCHAIN),toolchain)
-$(curdir)/imagebuilder/prepare:=$(curdir)/linux/install
+$(curdir)/imagebuilder/compile:=$(curdir)/linux/install
+
+# prerequisites for the individual targets
+$(curdir)//install = $(1)/compile
$(eval $(call stampfile,$(curdir),target,prereq,.config))
$(eval $(call stampfile,$(curdir),target,compile,$(TMP_DIR)/.build))