allow target specific builddir list override

SVN-Revision: 8204
lede-17.01
Felix Fietkau 2007-07-28 03:01:10 +00:00
parent 48d57c4ba8
commit 9acbd52239
1 changed files with 1 additions and 1 deletions

View File

@ -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