mkimage-profiles/lib/sugar.mk

19 lines
368 B
Makefile
Raw Normal View History

# 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