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 9C9BB15808E for ; Sun, 24 Apr 2022 16:30:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3C6C6E088B; Sun, 24 Apr 2022 16:30:46 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 76C72E0886 for ; Sun, 24 Apr 2022 16:30:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 smtp.gentoo.org (Postfix) with ESMTPS id D317234103C for ; Sun, 24 Apr 2022 16:30:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 397FA2F9 for ; Sun, 24 Apr 2022 16:30:01 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1650817796.7bd38b79de36573ba1f19e9754fb78072993c387.sam@gentoo> Subject: [gentoo-commits] proj/crossdev:master commit in: / X-VCS-Repository: proj/crossdev X-VCS-Files: README crossdev X-VCS-Directories: / X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 7bd38b79de36573ba1f19e9754fb78072993c387 X-VCS-Branch: master Date: Sun, 24 Apr 2022 16:30:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f8f013cf-ecb6-4ccc-9199-5f9d9b0cf64d X-Archives-Hash: b9f511e91f28c7f05b878cc48e8faeb9 commit: 7bd38b79de36573ba1f19e9754fb78072993c387 Author: WANG Xuerui gentoo org> AuthorDate: Mon Aug 9 13:22:30 2021 +0000 Commit: Sam James gentoo org> CommitDate: Sun Apr 24 16:29:56 2022 +0000 URL: https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=7bd38b79 crossdev: Add support for LoongArch (ARCH=loong) Closes: https://bugs.gentoo.org/840431 Closes: https://github.com/gentoo/crossdev/pull/2 Signed-off-by: WANG Xuerui gentoo.org> Signed-off-by: Sam James gentoo.org> README | 1 + crossdev | 11 ++++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/README b/README index 5c72e7b..d4198b2 100644 --- a/README +++ b/README @@ -60,6 +60,7 @@ executables or kernels if applies): i686-pc-gnu i686-w64-mingw32 ia64-unknown-linux-gnu + loongarch64-unknown-linux-gnu m68k-unknown-linux-gnu mips-unknown-linux-gnu mips64-unknown-linux-gnu diff --git a/crossdev b/crossdev index d8e25fb..7ec9a9d 100755 --- a/crossdev +++ b/crossdev @@ -136,6 +136,7 @@ parse_target() { - hppa (parisc) - ia64 - i386 / i486 / i586 / i686 (x86) + - loongarch64 - m68k - mips / mipsel / mips64 / mips64el - or1k @@ -208,7 +209,7 @@ parse_target() { CTARGET="${CTARGET}-unknown-linux-gnueabihf";; arm*) CTARGET="${CTARGET}-unknown-linux-gnueabi";; - aarch64*|alpha*|cris*|hppa*|ia64*|m68*|mips*|powerpc*|riscv*|sparc*|sh*|tile*) + aarch64*|alpha*|cris*|hppa*|ia64*|loongarch*|m68*|mips*|powerpc*|riscv*|sparc*|sh*|tile*) CTARGET="${CTARGET}-unknown-linux-gnu";; bfin*|h8300*|msp430*|nds32*|nios2*|spu*|xc16x*) CTARGET="${CTARGET}-elf";; @@ -223,6 +224,7 @@ parse_target() { hppa*) TARCH=hppa;; ia64*) TARCH=ia64;; i?86*) TARCH=x86;; + loongarch*) TARCH=loong;; m68*) TARCH=m68k;; mips*) TARCH=mips;; powerpc64*) TARCH=ppc64;; @@ -264,6 +266,13 @@ parse_target() { WITH_DEF_HEADERS="yes" ;; + loongarch*) + # have to bring in the experimental LoongArch patchset before + # everything is upstream + KUSE+=" experimental-loong" + LUSE+=" experimental-loong" + ;; + # added in bug #609602 mmix*) KPKG="[none]"