imagebuilder: fix parallel building (closes #11117)
authorGabor Juhos <juhosg@openwrt.org>
Tue, 13 Mar 2012 17:29:40 +0000 (17:29 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Tue, 13 Mar 2012 17:29:40 +0000 (17:29 +0000)
SVN-Revision: 30927

target/Makefile

index ff547f606f72ede0912b4d140d33bbb9fd7a11f2..81ec60234a58391e7028e353fc1e17f864356297 100644 (file)
@@ -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))