Unbreak building efiboot with MK_ZFS == no
Wrap `efi_zfs_is_preferred` with `#ifdef EFI_ZFS_BOOT`. Reported by: Guy Yur <guyyur@gmail.com>
This commit is contained in:
parent
714d3ee05b
commit
851fe8f6ed
@ -74,12 +74,13 @@ EFI_GUID inputid = SIMPLE_TEXT_INPUT_PROTOCOL;
|
||||
|
||||
static EFI_LOADED_IMAGE *img;
|
||||
|
||||
#ifdef EFI_ZFS_BOOT
|
||||
bool
|
||||
efi_zfs_is_preferred(EFI_HANDLE *h)
|
||||
{
|
||||
return (h == img->DeviceHandle);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
static int
|
||||
has_keyboard(void)
|
||||
|
Loading…
x
Reference in New Issue
Block a user