efibootmgr: enable cross compilation now that efivar is available
This commit is contained in:
parent
c3a7872561
commit
14d6f3c0a9
1 changed files with 6 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue