From c1dc237a4b53968701e2d1afc7a23256566c99d6 Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Tue, 5 Apr 2016 23:43:59 +0800 Subject: [PATCH] UPSTREAM: 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 Signed-off-by: Martin Roth BUG=None BRANCH=None TEST=None Reviewed-on: https://review.coreboot.org/14257 Reviewed-by: Patrick Georgi Change-Id: Id552859ec256d80108e073d25cd51dd1fc3fbfac Reviewed-on: https://chromium-review.googlesource.com/371505 Commit-Ready: Furquan Shaikh Tested-by: Furquan Shaikh Reviewed-by: Martin Roth --- util/xcompile/xcompile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile index 13a0e8f581..6c75da6910 100755 --- a/util/xcompile/xcompile +++ b/util/xcompile/xcompile @@ -332,7 +332,7 @@ arch_config_arm64() { arch_config_riscv() { TARCH="riscv" TBFDARCHS="littleriscv" - TCLIST="riscv" + TCLIST="riscv riscv64" TWIDTH="64" TABI="elf" }