allow target specific builddir list override

SVN-Revision: 8204
This commit is contained in:
Felix Fietkau 2007-07-28 03:01:10 +00:00
parent 48d57c4ba8
commit 9acbd52239

View file

@ -39,7 +39,7 @@ define subdir
) )
) )
$(foreach target,$(SUBTARGETS), $(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 endef