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
2020-01-05 18:10:07 +03:00
i f e q ( , $( filter -out i 586 x 86_ 64,$ ( 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)
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-09-30 19:12:56 +03:00
@$( call add,SYSLINUX_FILES,/usr/lib/syslinux/pxelinux.0)
2019-07-09 14:13:50 +03:00
@$( call try,META_SYSTEM_ID,SYSLINUX)
2016-12-26 16:11:21 +03:00
@$( call set,RELNAME,ALT ( $( IMAGE_NAME) ) )
2020-11-06 18:44:33 +03:00
@$( call xport,SYSLINUX_DEFAULT)
2019-07-02 21:59:32 +03:00
e l s e
use/syslinux : ; @:
e n d i f
2012-09-12 20:34:17 +04:00
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,$* )
2020-01-05 18:10:07 +03:00
i f e q ( , $( filter -out i 586 x 86_ 64,$ ( ARCH ) ) )
2010-09-22 01:58:24 +04:00
@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-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
use/syslinux/timeout/% : use /syslinux
@$( call set,SYSLINUX_TIMEOUT,$* )