diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-08-17 11:14:13 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-08-17 11:14:13 +0000 |
commit | bdb9c7351ce20a84c4aca2139d1526e57a828b70 (patch) | |
tree | e524313fd5211d7d2ba00520d2c162e21d44344f /include | |
parent | a74bb3b4173ed5cd86bece29312c2103bd79dc37 (diff) | |
download | upstream-bdb9c7351ce20a84c4aca2139d1526e57a828b70.tar.gz upstream-bdb9c7351ce20a84c4aca2139d1526e57a828b70.tar.bz2 upstream-bdb9c7351ce20a84c4aca2139d1526e57a828b70.zip |
some more build system cleanup
SVN-Revision: 12329
Diffstat (limited to 'include')
-rw-r--r-- | include/subdir.mk | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/subdir.mk b/include/subdir.mk index 4fa1bdfd52..3bf1a4bb79 100644 --- a/include/subdir.mk +++ b/include/subdir.mk @@ -28,8 +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),$(_SINGLE)$$(SUBMAKE) -j1) \ - -C $(1)/$(bd) $(target) $(if $(findstring $(bd),$($(1)/builddirs-ignore-$(target))), || $(call MESSAGE, ERROR: $(1)/$(bd) failed to build.)) + +$$(SUBMAKE) -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)) # legacy targets |