public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH] toolchain-funcs.eclass: add detection for arc
@ 2023-10-28  4:39 matoro
  2023-10-29  3:20 ` [gentoo-dev] [PATCH v2] " matoro
  0 siblings, 1 reply; 3+ messages in thread
From: matoro @ 2023-10-28  4:39 UTC (permalink / raw
  To: Gentoo Dev

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@users.noreply.github.com>
---
  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;;
-- 
2.42.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-dev] [PATCH v2] toolchain-funcs.eclass: add detection for arc
  2023-10-28  4:39 [gentoo-dev] [PATCH] toolchain-funcs.eclass: add detection for arc matoro
@ 2023-10-29  3:20 ` matoro
  2023-10-29  9:10   ` James Le Cuirot
  0 siblings, 1 reply; 3+ messages in thread
From: matoro @ 2023-10-29  3:20 UTC (permalink / raw
  To: Gentoo Dev

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [gentoo-dev] [PATCH v2] toolchain-funcs.eclass: add detection for arc
  2023-10-29  3:20 ` [gentoo-dev] [PATCH v2] " matoro
@ 2023-10-29  9:10   ` James Le Cuirot
  0 siblings, 0 replies; 3+ messages in thread
From: James Le Cuirot @ 2023-10-29  9:10 UTC (permalink / raw
  To: gentoo-dev

[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-10-29  9:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox