diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-08-16 16:59:47 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-08-16 16:59:47 +0000 |
commit | 627b34f1f255b06f3cc9462c2d9ec9c3e9ce71c0 (patch) | |
tree | e5743fc68af24bb635a031fdcc4f1e12ce8eaf57 /include/subdir.mk | |
parent | 1f00b02bb46d67c4b696e2594e0b1c97e6701f7b (diff) | |
download | upstream-627b34f1f255b06f3cc9462c2d9ec9c3e9ce71c0.tar.gz upstream-627b34f1f255b06f3cc9462c2d9ec9c3e9ce71c0.tar.bz2 upstream-627b34f1f255b06f3cc9462c2d9ec9c3e9ce71c0.zip |
rework parallel building to get rid of some warnings
and add back support for parallelizing the kernel build
fixes #3882
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12322 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include/subdir.mk')
-rw-r--r-- | include/subdir.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/subdir.mk b/include/subdir.mk index 31b867fb61..4fa1bdfd52 100644 --- a/include/subdir.mk +++ b/include/subdir.mk @@ -28,7 +28,7 @@ define subdir $(call warn,$(1),d,BD $(1)/$(bd)) $(foreach target,$(SUBTARGETS), $(call warn_eval,$(1)/$(bd),t,T,$(1)/$(bd)/$(target): $(if $(QUILT),,$($(1)/$(bd)/$(target)) $(call $(1)//$(target),$(1)/$(bd)))) - $(if $(findstring $(bd),$($(1)/builddirs-parallel)),$$(SUBMAKE),$$(SUBMAKE) -j1) \ + +$(if $(findstring $(bd),$($(1)/builddirs-parallel)),$$(SUBMAKE),$(_SINGLE)$$(SUBMAKE) -j1) \ -C $(1)/$(bd) $(target) $(if $(findstring $(bd),$($(1)/builddirs-ignore-$(target))), || $(call MESSAGE, ERROR: $(1)/$(bd) failed to build.)) $$(if $(call debug,$(1)/$(bd),v),,.SILENT: $(1)/$(bd)/$(target)) |