From 3af80a9377abd0a50a19cc1de3b180398b0f197f Mon Sep 17 00:00:00 2001 From: Jonathan Neuschäfer Date: Mon, 8 Jan 2018 18:31:42 +0100 Subject: util: make-spike-elf.sh: Fix busybox mktemp compatibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: https://review.coreboot.org/23174 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich Reviewed-by: Paul Menzel --- util/riscvtools/make-spike-elf.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.3