79bb3f8d6e
As noted in doc/assumptions.txt, the SHELL based target tracing only works for rules with recipes, even empty but present ones. The simplest thing to do is hooking "; @:" onto the rule's tail (one-liner with a non-printing shell builting "true" command).
19 lines
372 B
Makefile
19 lines
372 B
Makefile
# this makefile contains some syntactic sugar for the toplevel one
|
|
|
|
# strip prefix
|
|
config/with/%: %; @:
|
|
|
|
# just map to specific features
|
|
config/like/%: use/build-%; @:
|
|
|
|
# map and preconfigure
|
|
config/pack/%: use/pack/%
|
|
@$(call set,IMAGE_TYPE,$*)
|
|
|
|
# just preconfigure
|
|
config/name/%:
|
|
@$(call set,IMAGE_NAME,$*)
|
|
|
|
# the final thing will pull the rest in
|
|
build: postclean; @:
|