From ddade98e1046a6c701d0a96d97fb870d01c8c052 Mon Sep 17 00:00:00 2001 From: nbd Date: Sat, 28 Jul 2007 03:01:10 +0000 Subject: [PATCH] allow target specific builddir list override git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8204 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- include/subdir.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/subdir.mk b/include/subdir.mk index 046a6adf6..79624238b 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