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 26B33158089 for ; Sun, 29 Oct 2023 09:10:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7587F2BC02A; Sun, 29 Oct 2023 09:10:32 +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 3879E2BC015 for ; Sun, 29 Oct 2023 09:10:32 +0000 (UTC) Message-ID: <4ece80733cb81b9f5028e2fa493ba8b49f93adc0.camel@gentoo.org> Subject: Re: [gentoo-dev] [PATCH v2] toolchain-funcs.eclass: add detection for arc From: James Le Cuirot To: gentoo-dev@lists.gentoo.org Date: Sun, 29 Oct 2023 09:10:18 +0000 In-Reply-To: References: Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-gH12BNDGVoppsCUjU1SH" 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: dbde5a23-8480-4a96-a552-06535fae10ad X-Archives-Hash: 10052e1541bdb7adbc7c5e3ae3f7639a --=-gH12BNDGVoppsCUjU1SH Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, 2023-10-28 at 23:20 -0400, matoro wrote: > https://github.com/gentoo/gentoo/pull/33554 >=20 > ARC is bi-endian. Assumes ARCH=3Darc. No plans to add profiles or > keywords to official tree. >=20 > Signed-off-by: Matoro Mahri > --- > eclass/toolchain-funcs.eclass | 3 +++ > 1 file changed, 3 insertions(+) >=20 > diff --git a/eclass/toolchain-funcs.eclass=20 > b/eclass/toolchain-funcs.eclass > index 8398ee004a7d..4559894ca04a 100644 > --- a/eclass/toolchain-funcs.eclass > +++ b/eclass/toolchain-funcs.eclass > @@ -648,6 +648,7 @@ tc-ninja_magic_to_arch() { > case ${host} in > aarch64*) echo arm64;; > alpha*) echo alpha;; > + arc*) echo arc;; > arm*) echo arm;; > avr*) _tc_echo_kernel_alias avr32 avr;; > bfin*) _tc_echo_kernel_alias blackfin bfin;; > @@ -736,6 +737,8 @@ tc-endian() { > aarch64*be) echo big;; > aarch64) echo little;; > alpha*) echo little;; > + arc*b*) echo big;; > + arc*) echo little;; > arm*b*) echo big;; > arm*) echo little;; > cris*) echo little;; Aye! --=-gH12BNDGVoppsCUjU1SH Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- iQJFBAABCAAvFiEEPxcZ3tkwcedKm2a8EiZBXQDdMTcFAmU+IXoRHGNoZXdpQGdl bnRvby5vcmcACgkQEiZBXQDdMTdQgA/+OREi4BiQKE0uYuVovrea8dvbfd9Gr1/S KfPU5UMG8qjeocjYaAhpJMyvex6gT4aGHhEPeKUK4ujV/uYBZsGsh8pfWUsqYwpi Dnr3Tm5MKmtSg0kLnEycdljsmkvtuLS3cw1TB3OWT6THat7q/nLyuFuEff2fwYyk Uhyj92V2MyktPyGiz/PtTBiNouwRfo+opDnx9y2PQ+Uvts6rXT7KKp89WL1c2TvS 5mGYA13V30jyVx/VHa1YqvxMD169pRkTZD0YTuVSvPUGwLQWg/pQfp4NPirr90tj zzhh+xQYoqAFtcb4/6IzTRl0VKKDJF8Q0IycxgeUVm+4F5IWZLNd2GAS0HXZu4QB Rj71hkwBssvyt/e7SwwSs0EUEy/VQHWvcLCFbGHf+O7faDY6g4xCxzviQA/wc/KD wPQeLKbzLiQdI0bRN4id1bFQV1yajviQk5/zfFRehxQnaCH2dN+WyEKuImQ6KOX5 JDN04T+HHoWNtvbBGW03CIaT7Yj3O3jvuxUYLlRtDweJpNrKjSzgDDcmg5yaOXxR Nxh3EpOLkzbjs82RMFtIFvz0cP7Q0BeUyb22jiK6T4PLbAanTsS/IGn2C306Iydu gkp2V1HepX8s5pMuypp75xk0vGY8wIZEMJ4YGmNeeqysGNOlB/IkutlLnxYyxXea qm8KhLsRaVc= =ez5G -----END PGP SIGNATURE----- --=-gH12BNDGVoppsCUjU1SH--