summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2016-04-05 23:43:59 +0800
committerMartin Roth <martinroth@google.com>2016-08-17 03:55:02 +0200
commit9cc8cb2090741cefb3f3de14b2ad41e6baf2282f (patch)
treed9299340e5f6636d0e8d56807e0a0aa23957ba6f
parentd23ee5de2233d2f200dc15bf4a7669599c2b2014 (diff)
downloadcoreboot-9cc8cb2090741cefb3f3de14b2ad41e6baf2282f.tar.xz
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>
-rwxr-xr-xutil/xcompile/xcompile2
1 files changed, 1 insertions, 1 deletions
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"
}