39 lines
876 B
Makefile
39 lines
876 B
Makefile
|
# default is plain text prompt
|
||
|
# NB: might be usbflash-ready hybrid iso
|
||
|
|
||
|
# on ppc64le syslinux feature is used only to generate config
|
||
|
#ifeq (,$(filter-out i586 x86_64 ppc64le aarch64,$(ARCH)))
|
||
|
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
|
||
|
|
||
|
use/grub: sub/stage1 $(ISOHYBRID:%=use/isohybrid)
|
||
|
@$(call add_feature)
|
||
|
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
|
||
|
@$(call try,BOOTVGA,normal)
|
||
|
endif
|
||
|
@$(call set,RELNAME,ALT ($(IMAGE_NAME)))
|
||
|
@$(call set,IMAGE_PACKTYPE,boot)
|
||
|
else
|
||
|
|
||
|
use/grub: ; @:
|
||
|
|
||
|
endif
|
||
|
|
||
|
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
|
||
|
# UI is overwritten
|
||
|
use/grub/ui/%: use/grub
|
||
|
@$(call set,GRUB_UI,$*)
|
||
|
@if [ "$*" == gfxboot ]; then \
|
||
|
$(call add,STAGE1_PACKAGES,gfxboot); \
|
||
|
$(call add,STAGE1_BRANDING,bootloader); \
|
||
|
fi
|
||
|
else
|
||
|
use/grub/ui/%: use/grub; @:
|
||
|
endif
|
||
|
|
||
|
use/grub/%.cfg: use/grub
|
||
|
@$(call add,GRUB_CFG,$*)
|
||
|
|
||
|
|
||
|
use/grub/timeout/%: use/grub
|
||
|
@$(call set,GRUB_TIMEOUT,$*)
|