summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-07-28 03:01:10 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-07-28 03:01:10 +0000
commit9acbd5223905aed14c604ca51dc77191ab865d17 (patch)
tree56c45dd3bff7e55c2631d9e618aa3a1229a192f6 /include
parent48d57c4ba8d2507ea866b124fdc2c0fde7be5c60 (diff)
downloadmtk-20170518-9acbd5223905aed14c604ca51dc77191ab865d17.zip
mtk-20170518-9acbd5223905aed14c604ca51dc77191ab865d17.tar.gz
mtk-20170518-9acbd5223905aed14c604ca51dc77191ab865d17.tar.bz2
allow target specific builddir list override
SVN-Revision: 8204
Diffstat (limited to 'include')
-rw-r--r--include/subdir.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/subdir.mk b/include/subdir.mk
index 046a6ad..7962423 100644
--- a/include/subdir.mk
+++ b/include/subdir.mk
@@ -39,7 +39,7 @@ define subdir
)
)
$(foreach target,$(SUBTARGETS),
- $(call warn_eval,$(1),t,T,$(1)/$(target): $($(1)/) $(foreach bd,$($(1)/builddirs),$(1)/$(bd)/$(target)))
+ $(call warn_eval,$(1),t,T,$(1)/$(target): $($(1)/) $(foreach bd,$(if $($(1)/builddirs-$(target)),$($(1)/builddirs-$(target)),$($(1)/builddirs)),$(1)/$(bd)/$(target)))
)
endef