From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1EC1E158089 for ; Sat, 28 Oct 2023 04:54:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 08A7D2BC029; Sat, 28 Oct 2023 04:54:45 +0000 (UTC) Received: from matoro.tk (unknown [IPv6:2600:1700:4b10:9d80::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BA00F2BC013 for ; Sat, 28 Oct 2023 04:54:44 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=6QcNLYdI3M7qrY41HyJgJe6PoqtJPrFtKnSdLGMMopA=; c=relaxed/relaxed; d=matoro.tk; h=Subject:Subject:Sender:To:To:Cc:From:From:Date:Date:MIME-Version:MIME-Version:Content-Type:Content-Type:Content-Transfer-Encoding:Content-Transfer-Encoding:Reply-To:In-Reply-To:Message-Id:Message-Id:References:Autocrypt:Openpgp; i=@matoro.tk; s=20230917; t=1698467981; v=1; x=1698899981; b=Iqd9Y0OApUkFzCKx4gw+Z4qcLelVPN8GydhFn2dcG2qrC1Rxlz3j8TkbDOMeUQZ9rll+qKpm Hx+NqvQFnGQ9nwuyfcCF/RSinMUBO6tz7r1VuyyaVzE5Y53xzlJIPJw2X8KB7psS0CUxS6FySrZ wPAn5v574PcRvPafB9FrKjfxlAcsqq8WPlLr2prD8fhc3erjPCcikHYnkj93yTQhlCu/p8TlQrE 7Y5JHcKquXXnXYj+lqGwTfCKcdjs3q17qAtId5tbUWhSZYMG9Lf/7O6Lw+AD0i+IpOtH4q1j1jk 8czW4FUsoPmCmSoCEnoGFdwErCPRP1kFFK/4rDD4xnNiU0CMaXe0uhPNAQ86XL4xzg3Yy7OHmn3 XQZ5lK34lXP2O851JpSRqplGTHbpVkq9ospBxWFU/vSKEBYHv9gjsFw2jD+rRuSsZesK9B/hVkj QHDywiQOY5PItjIc2OSMO7KK822a2yoSecHzho/nYvUfznlcLDQgPrPLZ8NHFYWUfETLfh/Kl3h s+4H/ZIMd8ICvkxfSgYFjBFjACWuYywMpPIckSgALPA3+0fiYplsfzDhsJ5INrZKJ0Rm8FS4agR yNLf6ApahOh/g5yJB/Ggx9hniaOJaMIUhYTu+5UmJIf/WB/mxXBqVm8dkYhC6vmNGnyAsl8bMdV HbbGsUJH/Rg= Received: by matoro.tk (envelope-sender ) with ESMTPS id 4b87a58c; Sat, 28 Oct 2023 00:39:41 -0400 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Date: Sat, 28 Oct 2023 00:39:41 -0400 From: matoro To: Gentoo Dev Subject: [gentoo-dev] [PATCH] toolchain-funcs.eclass: add detection for arc Message-ID: X-Sender: matoro_mailinglist_gentoo-dev@matoro.tk Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 5f830e9e-0578-4653-9d44-7b5d585d156a X-Archives-Hash: 3213d626eec4571e0adac6c0b0a0198a 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 --- 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