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 | a3a37d0bb1e9e66c12aa68d0c17dee48a4f7f29e (patch) | |
tree | 55e7cb676b6270c01af8c7fc05dc89c545a74109 /include/subdir.mk | |
parent | a15a10c85adbfe2a4d5ce0985cbe6ca9cc28f9b7 (diff) | |
download | upstream-a3a37d0bb1e9e66c12aa68d0c17dee48a4f7f29e.tar.gz upstream-a3a37d0bb1e9e66c12aa68d0c17dee48a4f7f29e.tar.bz2 upstream-a3a37d0bb1e9e66c12aa68d0c17dee48a4f7f29e.zip |
rework parallel building to get rid of some warnings and add back support for parallelizing the kernel build fixes #3882
SVN-Revision: 12322
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)) |