mkimage-profiles/lib/sugar.mk
Michael Shigorin 67adab492f initial rootfs subprofile and services feature
This subprofile is akin to THE_* variables family: the configuration
bits and script hooks sitting there influence whatever chroot is
declared to be the user facing one in the end, whether it comes
from vm image or live subprofile.

The services feature ought to be a changeset of its own which would
be based on rootfs and become the base for ve/vm changes but I chose
to just do it atomically; some pre-existing duplicates are pruned now.
2013-06-17 14:03:53 +04:00

23 lines
467 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,$*)
# request particular image subprofile inclusion
sub/%:
@$(call add,SUBPROFILES,$(@:sub/%=%))
# the final thing will pull the rest in
build: postclean; @: