2014-03-20 01:07:19 +04:00
+efi : use /efi /signed ; @:
2013-02-16 14:53:15 +04:00
2012-12-18 18:18:58 +04:00
i f e q ( x 8 6 _ 6 4 , $( ARCH ) )
2012-12-26 17:21:24 +04:00
EFI_LISTS := $( call tags,base efi)
2012-10-30 23:08:23 +04:00
use/efi :
2012-12-12 00:00:35 +04:00
@$( call add_feature)
2013-12-24 13:54:01 +04:00
@$( call set,MKI_VER_MINIMAL,0.2.12) # it's official now
2012-12-26 17:21:24 +04:00
@$( call add,THE_LISTS,$( EFI_LISTS) )
@$( call add,RESCUE_LISTS,$( EFI_LISTS) )
2013-01-20 18:25:21 +04:00
@$( call add,THE_PACKAGES,$$ ( EFI_SHELL) )
@$( call add,RESCUE_PACKAGES,refind $$ ( EFI_SHELL) )
2013-02-05 13:58:01 +04:00
@$( call add,INSTALL2_PACKAGES,dosfstools fatresize)
2013-01-12 21:49:14 +04:00
@$( call try,EFI_BOOTLOADER,elilo) # default one
2014-05-07 15:00:07 +04:00
@$( call add,STAGE1_KCONFIG,EFI EFI_PARTITION EFI_VARS FB_EFI)
2015-03-07 02:12:21 +03:00
@$( call set,MKI_VER_OPTIMAL,0.2.17) # for EFI_BOOTARGS
@$( call add,EFI_BOOTARGS,$$ ( STAGE2_BOOTARGS) )
2013-01-12 21:49:14 +04:00
use/efi/refind : use /efi
@$( call set,EFI_BOOTLOADER,refind)
2012-10-30 23:08:23 +04:00
2013-01-10 01:09:55 +04:00
use/efi/signed : use /efi
@$( call set,EFI_CERT,altlinux)
2013-01-23 23:24:15 +04:00
@$( call add,THE_PACKAGES,shim-signed)
2013-12-19 03:10:19 +04:00
@$( call add,RESCUE_PACKAGES,openssl pesign sbsigntools)
2013-01-10 01:09:55 +04:00
2013-01-20 18:25:21 +04:00
use/efi/shell : use /efi
2013-02-21 16:41:43 +04:00
@$( call try,EFI_SHELL,efi-shell)
2013-01-20 18:25:21 +04:00
2013-12-18 01:46:08 +04:00
use/efi/memtest86 : use /efi /refind
@$( call set,EFI_MEMTEST86,efi-memtest86)
2012-10-30 23:08:23 +04:00
use/efi/debug : use /efi
@$( call add,STAGE2_PACKAGES,efibootmgr gdisk)
2012-12-18 18:18:58 +04:00
e l s e
# ignore on an unsupported target arch but make it hybrid at least
2013-12-24 13:54:01 +04:00
u s e / e f i u s e / e f i / s i g n e d u s e / e f i / d e b u g \
use/efi/refind use/efi/shell use/efi/memtest86: use/isohybrid
2012-12-18 18:18:58 +04:00
e n d i f