2010-09-22 01:58:24 +04:00
# default is plain text prompt
2018-07-25 15:40:56 +03:00
# NB: might be usbflash-ready hybrid iso
2019-07-09 14:13:50 +03:00
# on ppc64le syslinux feature is used only to generate config
# (it's converted into grub.cfg later)
i f e q ( , $( filter -out i 586 x 86_ 64 ppc 64le ,$ ( ARCH ) ) )
2018-07-25 15:40:56 +03:00
use/syslinux : sub /stage 1 $( ISOHYBRID :%=use /isohybrid )
2011-11-16 19:58:42 +04:00
@$( call add_feature)
2019-07-09 14:13:50 +03:00
i f e q ( , $( filter -out i 586 x 86_ 64,$ ( ARCH ) ) )
2010-09-18 18:46:32 +04:00
@$( call add,STAGE1_PACKAGES,syslinux)
2017-10-13 17:10:05 +03:00
@$( call try,BOOTVGA,normal)
2019-07-09 14:13:50 +03:00
e n d i f
@$( call try,META_SYSTEM_ID,SYSLINUX)
2016-12-26 16:11:21 +03:00
@$( call set,RELNAME,ALT ( $( IMAGE_NAME) ) )
2018-07-25 15:40:56 +03:00
@$( call set,IMAGE_PACKTYPE,boot)
2019-07-02 21:59:32 +03:00
e l s e
2019-07-09 14:13:50 +03:00
2019-07-02 21:59:32 +03:00
use/syslinux : ; @:
2019-07-09 14:13:50 +03:00
2019-07-02 21:59:32 +03:00
e n d i f
2012-09-12 20:34:17 +04:00
2019-07-09 14:13:50 +03:00
i f e q ( , $( filter -out i 586 x 86_ 64,$ ( ARCH ) ) )
2010-09-22 01:58:24 +04:00
# UI is overwritten
2012-03-30 23:41:19 +04:00
use/syslinux/ui/% : use /syslinux
2010-09-22 01:58:24 +04:00
@$( call set,SYSLINUX_UI,$* )
@if [ " $* " = = gfxboot ] ; then \
2010-09-18 18:46:32 +04:00
$( call add,STAGE1_PACKAGES,gfxboot) ; \
2012-04-25 15:18:23 +04:00
$( call add,STAGE1_BRANDING,bootloader) ; \
2010-09-18 18:46:32 +04:00
fi
2019-07-09 14:13:50 +03:00
e l s e
use/syslinux/ui/% : use /syslinux ; @:
2019-07-02 21:59:32 +03:00
e n d i f
2010-09-14 14:18:53 +04:00
2010-09-22 01:58:24 +04:00
# modules and config snippets just add up
use/syslinux/%.com use/syslinux/%.c32 : use /syslinux
2010-09-18 18:46:32 +04:00
@$( call add,SYSLINUX_MODULES,$* )
2010-09-22 01:58:24 +04:00
use/syslinux/%.cfg : use /syslinux
2010-09-18 18:46:32 +04:00
@$( call add,SYSLINUX_CFG,$* )
2012-03-30 23:41:19 +04:00
2019-07-09 14:13:50 +03:00
i f e q ( , $( filter -out ppc 64le ,$ ( ARCH ) ) )
use/syslinux/localboot.cfg use/syslinux/removable.cfg use/syslinux/lateboot.cfg use/syslinux/sdab.cfg : use /syslinux ; @:
2019-07-15 20:11:45 +03:00
use/syslinux/install-vnc-connect.cfg : use /syslinux /grub -install -vnc -connect .cfg ; @:
use/syslinux/install-vnc-listen.cfg : use /syslinux /grub -install -vnc -listen .cfg ; @:
2019-07-09 14:13:50 +03:00
e n d i f
2012-03-30 23:41:19 +04:00
use/syslinux/timeout/% : use /syslinux
@$( call set,SYSLINUX_TIMEOUT,$* )