diff options
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | 2018-01-08 18:31:42 +0100 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-02-20 23:14:06 +0000 |
commit | 3af80a9377abd0a50a19cc1de3b180398b0f197f (patch) | |
tree | 71604f19736a6a1a2148c46dcf16284ec6fd13e8 | |
parent | 61864143d42b0c506fd78e181d87c743266c6494 (diff) |
util: make-spike-elf.sh: Fix busybox mktemp compatibility
Busybox mktemp does not support patterns with any characters after the XXXXXX
part. Drop the .o extension to make make-spike-elf.sh work on Alpine Linux.
Change-Id: I2e37ceef115c6d4d31eb617558481b2284dada83
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-on: https://review.coreboot.org/23174
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
-rwxr-xr-x | util/riscvtools/make-spike-elf.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/riscvtools/make-spike-elf.sh b/util/riscvtools/make-spike-elf.sh index 9632436e50..834e8d2cb6 100755 --- a/util/riscvtools/make-spike-elf.sh +++ b/util/riscvtools/make-spike-elf.sh @@ -18,7 +18,7 @@ if [ $# -ne 2 ]; then fi FLAT_FILE="$1" -OBJECT_FILE=$(mktemp /tmp/coreboot-spike.XXXXXX.o) +OBJECT_FILE=$(mktemp /tmp/coreboot-spike.XXXXXX) ELF_FILE="$2" TOOL_PATH="$(dirname "$0")" XGCC_BIN="$TOOL_PATH/../crossgcc/xgcc/bin" |