Make UEFI boot-platform build again

gnuefi package was replaced by gnu_efi_kernel, but build
was not updated. This is guesswork, as I couldn't track down what changed.
It finds headers, headers_arch and lib and works so should be ok.
This commit is contained in:
Fredrik Holmqvist 2017-12-27 16:30:58 +01:00
parent 4e6fbe0320
commit 73159ec931

View File

@ -694,18 +694,18 @@ if [ IsPackageAvailable expat_devel ] {
# gnu-efi
if $(TARGET_PACKAGING_ARCH) = x86_64 {
if [ IsPackageAvailable gnuefi ] {
if [ IsPackageAvailable gnu_efi_kernel ] {
ExtractBuildFeatureArchives gnuefi :
file: base gnuefi
headers: $(developHeadersDir)/gnuefi
headersProtocol: $(developHeadersDir)/gnuefi/protocol
headersArch: $(developHeadersDir)/gnuefi/$(TARGET_ARCH)
libdir: $(libDir)/gnuefi
file: base gnu_efi_kernel
headers: develop/headers/gnuefi
headersProtocol: develop/headers/gnuefi/protocol
headersArch: develop/headers/gnuefi/$(TARGET_ARCH)
libdir: develop/lib/gnuefi
;
EnableBuildFeatures gnuefi ;
} else {
Echo "gnuefi support not available on $(TARGET_PACKAGING_ARCH)" ;
Echo "gnu_efi_kernel support not available on $(TARGET_PACKAGING_ARCH)" ;
}
}