summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-03-13 17:29:40 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-03-13 17:29:40 +0000
commit1faec31054a9d372dbfc36c408e644b6e6b5fe41 (patch)
treee68f19ac60c1b716362d9a4d181a8f67ec5e7dfb
parent1d9a77e99ff3a8af45a328309b9bccbb408ea8c4 (diff)
imagebuilder: fix parallel building (closes #11117)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30927 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/target/Makefile b/target/Makefile
index ff547f606..81ec60234 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))