meson: update efi path detection to gnu-efi-3.0.11
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 3 Feb 2020 19:38:54 +0000 (20:38 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 4 Feb 2020 14:43:21 +0000 (23:43 +0900)
commitce4121c6ff92c1c368874bd451b73fa9b1ddec4a
tree91bda61360ea3fb12b18c13c6882f4113a8dce1a
parent91e50467f5ce8119efc47e5c5637710b9d7f012c
meson: update efi path detection to gnu-efi-3.0.11

Fixes systemd build in Fedora rawhide.

The old ldsdir option is not useful, because both the directory and the
file name changed. Let's remove the option and try to autodetect the file
name. If this turns out to be not enough, a new option to simply specify
the full path to the file can be added.

F31:
         efi arch:                          x86_64
         EFI machine type:                  x64
         EFI CC                             ccache cc
         EFI lds:                           /usr/lib64/gnuefi/elf_x64_efi.lds
         EFI crt0:                          /usr/lib64/gnuefi/crt0-efi-x64.o
         EFI include directory:             /usr/include/efi
F32:
         efi arch:                          x86_64
         EFI machine type:                  x64
         EFI CC                             ccache cc
         EFI lds:                           /usr/lib/gnuefi/x64/efi.lds
         EFI crt0:                          /usr/lib/gnuefi/x64/crt0.o
         EFI include directory:             /usr/include/efi
meson.build
meson_options.txt
src/boot/efi/meson.build