diff options
author | Palmer Dabbelt <palmer@dabbelt.com> | 2019-03-18 03:25:58 -0700 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2019-03-18 22:51:24 +0000 |
commit | 3f952ff7041e98dc39bcd2f6a77098eeb9afd87e (patch) | |
tree | adb118519d34069696694c0797a3df2b9f3a4036 | |
parent | emerge-wrapper: declare KERNEL=Winnt for *mingw* targets, bug #594576 (diff) | |
download | crossdev-3f952ff7041e98dc39bcd2f6a77098eeb9afd87e.tar.gz crossdev-3f952ff7041e98dc39bcd2f6a77098eeb9afd87e.tar.bz2 crossdev-3f952ff7041e98dc39bcd2f6a77098eeb9afd87e.zip |
Add riscv* to the Linux short list
This allows "crossdev -t riscv64" to install a RISC-V cross compiler for
Linux targets.
Signed-off-by: Palmer Dabbelt <palmer@dabbelt.com>
-rwxr-xr-x | crossdev | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -125,6 +125,7 @@ parse_target() { - i386 / i486 / i586 / i686 (x86) - m68k - mips / mipsel / mips64 / mips64el - powerpc (ppc) / powerpc64 (ppc64) + - riscv32 / riscv64 - sparc / sparc64 - s390 / s390x - sh / sh[1-5] / sh64 - x86_64 (amd64) Supported C Libraries: @@ -193,7 +194,7 @@ parse_target() { CTARGET="${CTARGET}-unknown-linux-gnueabihf";; arm*) CTARGET="${CTARGET}-unknown-linux-gnueabi";; - aarch64*|alpha*|cris*|hppa*|ia64*|m68*|mips*|powerpc*|sparc*|sh*|tile*) + aarch64*|alpha*|cris*|hppa*|ia64*|m68*|mips*|powerpc*|riscv*|sparc*|sh*|tile*) CTARGET="${CTARGET}-unknown-linux-gnu";; bfin*|h8300*|msp430*|nds32*|nios2*|spu*|xc16x*) CTARGET="${CTARGET}-elf";; |