add default command for dummy targets
authorFelix Fietkau <nbd@openwrt.org>
Sat, 28 Jul 2007 14:36:21 +0000 (14:36 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 28 Jul 2007 14:36:21 +0000 (14:36 +0000)
SVN-Revision: 8209

include/subdir.mk

index 407f8a8..b2bc04b 100644 (file)
@@ -39,7 +39,7 @@ define subdir
        )
   )
   $(foreach target,$(SUBTARGETS),
-    $(call warn_eval,$(1),t,T,$(1)/$(target): $($(1)/) $(foreach bd,$(if $($(1)/builddirs-$(target)),$($(1)/builddirs-$(target)),$($(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