add default command for dummy targets
[openwrt.org/openwrt.git] / include / subdir.mk
blob:a/include/subdir.mk -> blob:b/include/subdir.mk
--- a/include/subdir.mk
+++ b/include/subdir.mk
@@ -39,7 +39,7 @@
 	)
   )
   $(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
 

comments