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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B1854158089 for ; Sun, 29 Oct 2023 03:20:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 070942BC018; Sun, 29 Oct 2023 03:20:55 +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 B6CDE2BC013 for ; Sun, 29 Oct 2023 03:20:54 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=7eZMx8Iww7wfA00WKcmqJyrVhi/CFvrDwdWULgHkipg=; 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:In-Reply-To:Message-Id:Message-Id:References:References:Autocrypt:Openpgp; i=@matoro.tk; s=20230917; t=1698549652; v=1; x=1698981652; b=fqC2S9mJ9nYFpd2VQt/TZiDbaw+X//t71jhPKGVfhsE4iCFvuqKKjKBaOtY2ZqJq1LxgqZW3 72TBTMEJNK3hs/j3fPYw6CHpoNQIv6RU8AeJFvT8N8iKzlO4vS3+wNga63dUCMm1ACpq+NU2rw1 adxUU3HjLcgUsa6C2fVUaUb/L4QQ+V1+L/J7sLuXoOZXJBPpdJpeQcT7gT0EMLQUnIBc7vIULE0 VEyM80Sp418v+Bs6TxPKU7+NTad/Uirf7pS3LZgLbhvCckpCrf/nERwqJhEgEWfxTTyB37wYZM3 hrOq7Iqmtpam4GJTEDDs0pq0ZLPNncJdQnbKYNMLLkDjPOAWpXpCZSB0MblF9X3+/SX7/c/SlJo ubJG5Mq+fWKf0m7lbl65nuYDLaTUiVvYdHRXzLSDmGst4VivtAV5qMXmRqvCb96cGWCyfYGd4aT SIOoeLjvKqD17IQGyvd3yQsHzsEAJu1g1/3X0W9eTDEbuK8pV6RxHCsS61L4FKC81Jwyj/vRAR8 PkwIZeDBAa59+pDl+TIM616Frdnl8S6FhaHK98IcZFYLTnv1hCJb5nnRxtVkQOSZy6CNWoIAQyZ is1l0pjzefVNdNN8FYkh6ScC0JHZbFRVAY8eaxc1iT2bVZn8yLz4+I+ceuWrTxoG6B2m3WVygn2 PVDXC4e1KoI= Received: by matoro.tk (envelope-sender ) with ESMTPS id 1b283d78; Sat, 28 Oct 2023 23:20:52 -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 23:20:52 -0400 From: matoro To: Gentoo Dev Subject: [gentoo-dev] [PATCH v2] toolchain-funcs.eclass: add detection for arc In-Reply-To: References: 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: f9232378-8bca-402f-8232-97015493f541 X-Archives-Hash: 0df6dadeddf46b62e61edf85b1a40eca 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;;