xcompile: add riscv64 name to riscv toolchain

In newer toolchain with binutils 2.26 and GCC 5.3.0, we build binutils
and GCC with machine type riscv32 and riscv64 instead of riscv. We can
see it in this riscv-gnu-toolchain commit:
https://github.com/riscv/riscv-gnu-toolchain/commit/dedbf07

Signed-off-by: Iru Cai <mytbk920423@gmail.com>
Signed-off-by: Martin Roth <martinroth@google.com>
Change-Id: Id552859ec256d80108e073d25cd51dd1fc3fbfac
Reviewed-on: https://review.coreboot.org/14257
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
Iru Cai 2016-04-05 23:43:59 +08:00 committed by Martin Roth
parent d23ee5de22
commit 9cc8cb2090
1 changed files with 1 additions and 1 deletions

View File

@ -332,7 +332,7 @@ arch_config_arm64() {
arch_config_riscv() { arch_config_riscv() {
TARCH="riscv" TARCH="riscv"
TBFDARCHS="littleriscv" TBFDARCHS="littleriscv"
TCLIST="riscv" TCLIST="riscv riscv64"
TWIDTH="64" TWIDTH="64"
TABI="elf" TABI="elf"
} }