efibootmgr: enable cross compilation now that efivar is available

This commit is contained in:
Elie ROUDNINSKI 2018-10-08 10:24:12 +01:00 committed by maxice8
parent c3a7872561
commit 14d6f3c0a9

View file

@ -12,7 +12,6 @@ distfiles="https://github.com/rhinstaller/efibootmgr/releases/download/${version
distfiles="https://github.com/rhboot/efibootmgr/archive/${version}.tar.gz"
checksum=22a95ebe0d5c9fb2915b3a100450f8f37484d1dbb8b296f55b343cc84f10397d
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
conf_files="/etc/default/efibootmgr-kernel-hook"
case "$XBPS_TARGET_MACHINE" in
@ -20,6 +19,12 @@ case "$XBPS_TARGET_MACHINE" in
EFI_LOADER="grubx64.efi" ;;
i686*)
EFI_LOADER="grub.efi" ;;
aarch64*)
EFI_LOADER="grubaa64.efi" ;;
arm*)
EFI_LOADER="grubarm.efi" ;;
*)
broken="unsupported UEFI for architecture ${XBPS_TARGET_MACHINE}" ;;
esac
do_build() {