commit: a57534c4d40a550f5bc5f39f7865c49a3eca2578
Author: WANG Xuerui <xen0n <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 11 08:51:28 2025 +0000
Commit: WANG Xuerui <xen0n <AT> gentoo <DOT> org>
CommitDate: Sat Jan 11 09:32:09 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a57534c4
sys-boot/gnu-efi: fix build on loong for supported versions
These versions of gnu-efi contain support for loong (64-bit), but the
ebuilds lack ARCH mapping. loong is called loongarch64 in gnu-efi.
Signed-off-by: WANG Xuerui <xen0n <AT> gentoo.org>
sys-boot/gnu-efi/gnu-efi-3.0.18-r5.ebuild | 3 ++-
sys-boot/gnu-efi/gnu-efi-3.0.19.ebuild | 3 ++-
sys-boot/gnu-efi/gnu-efi-4.0.0.ebuild | 3 ++-
3 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/sys-boot/gnu-efi/gnu-efi-3.0.18-r5.ebuild
b/sys-boot/gnu-efi/gnu-efi-3.0.18-r5.ebuild
index 58308fd41045..eb65edfc50a6 100644
--- a/sys-boot/gnu-efi/gnu-efi-3.0.18-r5.ebuild
+++ b/sys-boot/gnu-efi/gnu-efi-3.0.18-r5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2004-2024 Gentoo Authors
+# Copyright 2004-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -88,6 +88,7 @@ efimake() {
aarch64*) arch=aarch64 ;;
ia64*) arch=ia64 ;;
i?86*) arch=ia32 ;;
+ loongarch64*) arch=loongarch64 ;;
riscv64*) arch=riscv64;;
x86_64*) arch=x86_64 ;;
*) die "Unknown CHOST" ;;
diff --git a/sys-boot/gnu-efi/gnu-efi-3.0.19.ebuild
b/sys-boot/gnu-efi/gnu-efi-3.0.19.ebuild
index ad0bc6c1ac36..e6ba2e9122ac 100644
--- a/sys-boot/gnu-efi/gnu-efi-3.0.19.ebuild
+++ b/sys-boot/gnu-efi/gnu-efi-3.0.19.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2004-2024 Gentoo Authors
+# Copyright 2004-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -88,6 +88,7 @@ efimake() {
aarch64*) arch=aarch64 ;;
ia64*) arch=ia64 ;;
i?86*) arch=ia32 ;;
+ loongarch64*) arch=loongarch64 ;;
riscv64*) arch=riscv64;;
x86_64*) arch=x86_64 ;;
*) die "Unknown CHOST" ;;
diff --git a/sys-boot/gnu-efi/gnu-efi-4.0.0.ebuild
b/sys-boot/gnu-efi/gnu-efi-4.0.0.ebuild
index 991d495bd8d8..e9e8c615b693 100644
--- a/sys-boot/gnu-efi/gnu-efi-4.0.0.ebuild
+++ b/sys-boot/gnu-efi/gnu-efi-4.0.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2004-2024 Gentoo Authors
+# Copyright 2004-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -89,6 +89,7 @@ efimake() {
aarch64*) arch=aarch64 ;;
ia64*) arch=ia64 ;;
i?86*) arch=ia32 ;;
+ loongarch64*) arch=loongarch64 ;;
riscv64*) arch=riscv64;;
x86_64*) arch=x86_64 ;;
*) die "Unknown CHOST" ;;