From: James Le Cuirot <chewi@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] [PATCH v2] toolchain-funcs.eclass: add detection for arc
Date: Sun, 29 Oct 2023 09:10:18 +0000 [thread overview]
Message-ID: <4ece80733cb81b9f5028e2fa493ba8b49f93adc0.camel@gentoo.org> (raw)
In-Reply-To: <bc32bf8d4bba49ef7e54018f576b9c06@matoro.tk>
[-- Attachment #1: Type: text/plain, Size: 1108 bytes --]
On Sat, 2023-10-28 at 23:20 -0400, matoro wrote:
> https://github.com/gentoo/gentoo/pull/33554
>
> ARC is bi-endian. Assumes ARCH=arc. No plans to add profiles or
> keywords to official tree.
>
> Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk>
> ---
> eclass/toolchain-funcs.eclass | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/eclass/toolchain-funcs.eclass
> 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!
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 858 bytes --]
prev parent reply other threads:[~2023-10-29 9:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-28 4:39 [gentoo-dev] [PATCH] toolchain-funcs.eclass: add detection for arc matoro
2023-10-29 3:20 ` [gentoo-dev] [PATCH v2] " matoro
2023-10-29 9:10 ` James Le Cuirot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4ece80733cb81b9f5028e2fa493ba8b49f93adc0.camel@gentoo.org \
--to=chewi@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox