allow target specific builddir list override
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 28 Jul 2007 03:01:10 +0000 (03:01 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 28 Jul 2007 03:01:10 +0000 (03:01 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8204 3c298f89-4303-0410-b956-a3cf2f4a3e73

include/subdir.mk

index 046a6ad..7962423 100644 (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
 
This page took 0.023591 seconds and 4 git commands to generate.