projects
/
openwrt
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8ebe954
)
fix make variable overriding for package makefiles on the command line
author
Felix Fietkau
<nbd@openwrt.org>
Wed, 6 Aug 2008 11:33:26 +0000
(11:33 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Wed, 6 Aug 2008 11:33:26 +0000
(11:33 +0000)
SVN-Revision: 12204
include/subdir.mk
patch
|
blob
|
history
diff --git
a/include/subdir.mk
b/include/subdir.mk
index e12799b475f01918e162ffe346f81f1840009d5e..31b867fb617d5e8bf73120b0c6289bb52161085e 100644
(file)
--- 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))))
$(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) \
+ $(if $(findstring $(bd),$($(1)/builddirs-parallel)),$$(SUBMAKE),$$(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))
-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))