public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: matoro <matoro_mailinglist_gentoo-dev@matoro.tk>
To: Gentoo Dev <gentoo-dev@lists.gentoo.org>
Subject: [gentoo-dev] [PATCH v2] toolchain-funcs.eclass: add detection for arc
Date: Sat, 28 Oct 2023 23:20:52 -0400	[thread overview]
Message-ID: <bc32bf8d4bba49ef7e54018f576b9c06@matoro.tk> (raw)
In-Reply-To: <eef2a6d970ca03d8c21ee1495c828d25@matoro.tk>

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


  reply	other threads:[~2023-10-29  3:20 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 ` matoro [this message]
2023-10-29  9:10   ` [gentoo-dev] [PATCH v2] " James Le Cuirot

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=bc32bf8d4bba49ef7e54018f576b9c06@matoro.tk \
    --to=matoro_mailinglist_gentoo-dev@matoro.tk \
    --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