mirror of
https://github.com/systemd/systemd
synced 2024-07-21 10:17:21 +00:00
efi: skip libefitest if 'bootloader' is explicitly set to false
On x32 efi_arch will be set as the kernel architecture is just x86_64, but there's no userland support to build the EFI ABI. When -Dbootloader=false is set, skip libefitest too.
This commit is contained in:
parent
fca5c720be
commit
4729e84e01
|
@ -2124,6 +2124,9 @@ efi_arch = {
|
|||
|
||||
if get_option('bootloader') != 'false' and efi_arch != ''
|
||||
conf.set_quoted('EFI_MACHINE_TYPE_NAME', efi_arch)
|
||||
elif get_option('bootloader') == 'false' and efi_arch != ''
|
||||
# Ensure that if the option is explicitly set to false, then no EFI code is built, including tests
|
||||
efi_arch = ''
|
||||
elif get_option('bootloader') == 'true' and efi_arch == ''
|
||||
error('EFI not supported for this arch.')
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue