[prev in list] [next in list] [prev in thread] [next in thread]
List: gentoo-dev
Subject: [gentoo-dev] [PATCH] toolchain-funcs.eclass: add detection for arc
From: matoro <matoro_mailinglist_gentoo-dev () matoro ! tk>
Date: 2023-10-28 4:39:41
Message-ID: eef2a6d970ca03d8c21ee1495c828d25 () matoro ! tk
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic