From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F22D915800A for ; Fri, 21 Jul 2023 14:49:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2B33EE094B; Fri, 21 Jul 2023 14:49:54 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 E1890E0946 for ; Fri, 21 Jul 2023 14:49:53 +0000 (UTC) Message-ID: <6fda2baf4cc79ff656165779a03e8d325a260ff5.camel@gentoo.org> Subject: Re: [gentoo-dev] [PATCH 4/6] kernel-install.eclass: kernel-install_get_qemu_arch: port to sparc From: =?UTF-8?Q?Micha=C5=82_G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Cc: toolchain@gentoo.org, dist-kernel@gentoo.org, sparc@gentoo.org, Sam James Date: Fri, 21 Jul 2023 16:49:49 +0200 In-Reply-To: <20230721124615.1797438-4-sam@gentoo.org> References: <20230721124615.1797438-1-sam@gentoo.org> <20230721124615.1797438-4-sam@gentoo.org> Organization: Gentoo Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 X-Archives-Salt: 31cde2a6-77e4-4351-96dc-66640425b07f X-Archives-Hash: 96022dd41b72840fee734a5855024092 On Fri, 2023-07-21 at 13:46 +0100, Sam James wrote: > Signed-off-by: Sam James > --- > eclass/kernel-install.eclass | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) >=20 > diff --git a/eclass/kernel-install.eclass b/eclass/kernel-install.eclass > index 49aff35dea0d2..6018abd821513 100644 > --- a/eclass/kernel-install.eclass > +++ b/eclass/kernel-install.eclass > @@ -1,4 +1,4 @@ > -# Copyright 2020-2022 Gentoo Authors > +# Copyright 2020-2023 Gentoo Authors > # Distributed under the terms of the GNU General Public License v2 > =20 > # @ECLASS: kernel-install.eclass > @@ -162,6 +162,12 @@ kernel-install_get_qemu_arch() { > ppc64) > echo ppc64 > ;; > + sparc) > + echo sparc > + ;; > + sparc64) > + echo sparc64 > + ;; > riscv) > echo riscv > ;; I suppose I originally didn't anticipate this many "matching" arches but perhaps it's time to add something like: arm|ppc|ppc64|riscv|sparc|sparc64) echo ${ARCH} ;; --=20 Best regards, Micha=C5=82 G=C3=B3rny