summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-08-06 11:33:26 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-08-06 11:33:26 +0000
commit311c9403d9d4041bb4e6b9946d818834c57469f2 (patch)
tree601dd91c6768df3b113e3bdafa943409ad65a5fb
parent8ebe95404d93e91511a532eee154d9cae210b165 (diff)
downloadmtk-20170518-311c9403d9d4041bb4e6b9946d818834c57469f2.zip
mtk-20170518-311c9403d9d4041bb4e6b9946d818834c57469f2.tar.gz
mtk-20170518-311c9403d9d4041bb4e6b9946d818834c57469f2.tar.bz2
fix make variable overriding for package makefiles on the command line
SVN-Revision: 12204
-rw-r--r--include/subdir.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/subdir.mk b/include/subdir.mk
index e12799b..31b867f 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),$$(_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))