summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-07-28 03:01:10 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-07-28 03:01:10 +0000
commitddade98e1046a6c701d0a96d97fb870d01c8c052 (patch)
tree09a046030484ea5e7213d665c9edb41ce8b37f1f
parent25769190c8386b619f74377e1d8433b11163034f (diff)
allow target specific builddir list override
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8204 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--include/subdir.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/subdir.mk b/include/subdir.mk
index 046a6adf6f..79624238b5 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