From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1708410-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id D47FA15813A
	for <garchives@archives.gentoo.org>; Sat, 11 Jan 2025 09:33:46 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id CE486E09E2;
	Sat, 11 Jan 2025 09:33:45 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id B452CE09E0
	for <gentoo-commits@lists.gentoo.org>; Sat, 11 Jan 2025 09:33:45 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id C7F49341707
	for <gentoo-commits@lists.gentoo.org>; Sat, 11 Jan 2025 09:33:44 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 0F2571D2A
	for <gentoo-commits@lists.gentoo.org>; Sat, 11 Jan 2025 09:33:43 +0000 (UTC)
From: "WANG Xuerui" <xen0n@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "WANG Xuerui" <xen0n@gentoo.org>
Message-ID: <1736587929.a57534c4d40a550f5bc5f39f7865c49a3eca2578.xen0n@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-boot/gnu-efi/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sys-boot/gnu-efi/gnu-efi-3.0.18-r5.ebuild sys-boot/gnu-efi/gnu-efi-3.0.19.ebuild sys-boot/gnu-efi/gnu-efi-4.0.0.ebuild
X-VCS-Directories: sys-boot/gnu-efi/
X-VCS-Committer: xen0n
X-VCS-Committer-Name: WANG Xuerui
X-VCS-Revision: a57534c4d40a550f5bc5f39f7865c49a3eca2578
X-VCS-Branch: master
Date: Sat, 11 Jan 2025 09:33:43 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: d2f3fdfd-1dd1-4939-bd20-9129343a1135
X-Archives-Hash: 3768afa46978f2d73030ad480eca6631

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" ;;