From: Felix Fietkau Date: Sat, 28 Jul 2007 03:01:10 +0000 (+0000) Subject: allow target specific builddir list override X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=80f01e1b0b676f8df8109e006dc51d168536cb45;p=openwrt%2Fsvn-archive%2Farchive.git allow target specific builddir list override SVN-Revision: 8204 --- 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