imagebuilder: fix parallel building (closes #11117)
[openwrt.git] / target / Makefile
index 4c746e2..81ec602 100644 (file)
@@ -6,12 +6,14 @@
 #
 curdir:=target
 
-$(curdir)/builddirs-parallel:=linux
-$(curdir)/builddirs:=linux sdk imagebuilder
+$(curdir)/builddirs:=linux sdk imagebuilder toolchain
 $(curdir)/builddirs-default:=linux
-$(curdir)/builddirs-install:=linux $(if $(CONFIG_SDK),sdk) $(if $(CONFIG_IB),imagebuilder)
+$(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))
This page took 0.02202 seconds and 4 git commands to generate.