[coreboot-gerrit] New patch to review for coreboot: RISCV: change make-spike-elf to use the coreboot toolchain.

Ronald G. Minnich (rminnich@gmail.com) gerrit at coreboot.org
Sun Oct 9 17:28:46 CEST 2016


Ronald G. Minnich (rminnich at gmail.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/16955

-gerrit

commit 07c954d90a0e1ecd4ac09785e08041745b6c93af
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