[prev in list] [next in list] [prev in thread] [next in thread]
List: gentoo-dev
Subject: Re: [gentoo-dev] [PATCH v2] toolchain-funcs.eclass: add detection for arc
From: James Le Cuirot <chewi () gentoo ! org>
Date: 2023-10-29 9:10:18
Message-ID: 4ece80733cb81b9f5028e2fa493ba8b49f93adc0.camel () gentoo ! org
[Download RAW message or body]
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!
["signature.asc" (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic