summaryrefslogtreecommitdiff
path: root/digital/ucoolib/build/top.mk
diff options
context:
space:
mode:
authorNicolas Schodet2012-12-08 23:24:41 +0100
committerNicolas Schodet2012-12-18 22:33:08 +0100
commit1d22f2a89891445ac6e3353bff20ff3701685424 (patch)
tree1afb6efec7b5456e9f4a20e753ae065b86f6f425 /digital/ucoolib/build/top.mk
parente7e413823111ca05dd85f8b572f6c0ac22ffe354 (diff)
digital/ucoolib/build: add target specific configuration
Diffstat (limited to 'digital/ucoolib/build/top.mk')
-rw-r--r--digital/ucoolib/build/top.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/digital/ucoolib/build/top.mk b/digital/ucoolib/build/top.mk
index a944b2c7..71fe1be0 100644
--- a/digital/ucoolib/build/top.mk
+++ b/digital/ucoolib/build/top.mk
@@ -63,3 +63,6 @@ define TARGETS_template
include $$(BASE)/build/$1.mk
endef
$(foreach target,$(TARGETS),$(eval $(call TARGETS_template,$(target))))
+
+TARGETS_SUBTARGETS := $(foreach target,$(TARGETS),$(target):$(target) \
+ $(foreach subtarget,$($(target)_SUBTARGETS),$(target):$(subtarget)))