d5cf1ff3eb
Its immediate purpose was influencing the GRUB boot menu *but* the implemented mechanism is actually a part of the long planned text branding and might be further merged into branding when hierarchical features finally chime in. So let's get the naming straight before it breeds.
25 lines
672 B
Makefile
25 lines
672 B
Makefile
# default is plain text prompt
|
|
use/syslinux: sub/stage1
|
|
@$(call add_feature)
|
|
@$(call add,STAGE1_PACKAGES,syslinux)
|
|
@$(call try,META_SYSTEM_ID,SYSLINUX)
|
|
@$(call set,RELNAME,ALT Linux ($(IMAGE_NAME)))
|
|
|
|
# UI is overwritten
|
|
use/syslinux/ui/%: use/syslinux
|
|
@$(call set,SYSLINUX_UI,$*)
|
|
@if [ "$*" == gfxboot ]; then \
|
|
$(call add,STAGE1_PACKAGES,gfxboot); \
|
|
$(call add,STAGE1_BRANDING,bootloader); \
|
|
fi
|
|
|
|
# modules and config snippets just add up
|
|
use/syslinux/%.com use/syslinux/%.c32: use/syslinux
|
|
@$(call add,SYSLINUX_MODULES,$*)
|
|
|
|
use/syslinux/%.cfg: use/syslinux
|
|
@$(call add,SYSLINUX_CFG,$*)
|
|
|
|
use/syslinux/timeout/%: use/syslinux
|
|
@$(call set,SYSLINUX_TIMEOUT,$*)
|