5d37a0c54d
Applying set() and only set() to a GLOBAL_* is safe but still a potentially confusing example; so let's just do it right (and warn unsuspecting folks too).
10 lines
382 B
Makefile
10 lines
382 B
Makefile
# TODO: invent something prettier (think "lilo+grub" -- or error out?)
|
|
# - add,BASE_PACKAGES,alterator-$* is overly additive
|
|
# - remember .base if adding yet another *_PACKAGES
|
|
|
|
use/bootloader: use/install2 sub/main
|
|
@$(call add,BASE_PACKAGES,alterator-$$(BASE_BOOTLOADER))
|
|
|
|
use/bootloader/grub use/bootloader/lilo: use/bootloader/%: use/bootloader
|
|
@$(call set,BASE_BOOTLOADER,$*)
|