[coreboot-gerrit] Patch set updated for coreboot: RISCV: change make-spike-elf to use the coreboot toolchain.
Jonathan Neuschäfer (j.neuschaefer@gmx.net)
gerrit at coreboot.org
Mon Oct 10 14:21:04 CEST 2016
Jonathan Neuschäfer (j.neuschaefer at gmx.net) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/16955
-gerrit
commit 00edadc6009cdfa62cb04c8e9cdf6cfcec657103
Author: Ronald G. Minnich <rminnich at gmail.com>
Date: Sun Oct 9 08:28:21 2016 -0700
RISCV: change make-spike-elf to use the coreboot toolchain.
Change-Id: I81ced8c6e02b00a3835e3b42c9cf2669b1b2bd3e
Signed-off-by: Ronald G. Minnich <rminnich at gmail.com>
---
util/riscvtools/make-spike-elf.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/util/riscvtools/make-spike-elf.sh b/util/riscvtools/make-spike-elf.sh
index 20ae23c..892086f 100755
--- a/util/riscvtools/make-spike-elf.sh
+++ b/util/riscvtools/make-spike-elf.sh
@@ -22,8 +22,8 @@ OBJECT_FILE=$(mktemp /tmp/coreboot-spike.XXXXXX.o)
ELF_FILE="$2"
TOOL_PATH="$(dirname "$0")"
-riscv64-unknown-linux-gnu-objcopy -I binary -O elf64-littleriscv \
+riscv64-elf-objcopy -I binary -O elf64-littleriscv \
-B riscv "$FLAT_FILE" "$OBJECT_FILE"
-riscv64-unknown-linux-gnu-ld "$OBJECT_FILE" -T "$TOOL_PATH/spike-elf.ld" \
+riscv64-elf-ld "$OBJECT_FILE" -T "$TOOL_PATH/spike-elf.ld" \
-o "$ELF_FILE"
rm "$OBJECT_FILE"
More information about the coreboot-gerrit
mailing list