[coreboot-gerrit] Change in coreboot[master]: util: make-spike-elf.sh: Fix busybox mktemp compatibility
Jonathan Neuschäfer (Code Review)
gerrit at coreboot.org
Mon Jan 8 19:11:25 CET 2018
Jonathan Neuschäfer has uploaded this change for review. ( https://review.coreboot.org/23174
Change subject: util: make-spike-elf.sh: Fix busybox mktemp compatibility
......................................................................
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 at gmx.net>
---
M util/riscvtools/make-spike-elf.sh
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/74/23174/1
diff --git a/util/riscvtools/make-spike-elf.sh b/util/riscvtools/make-spike-elf.sh
index 9632436..834e8d2 100755
--- a/util/riscvtools/make-spike-elf.sh
+++ b/util/riscvtools/make-spike-elf.sh
@@ -18,7 +18,7 @@
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"
--
To view, visit https://review.coreboot.org/23174
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2e37ceef115c6d4d31eb617558481b2284dada83
Gerrit-Change-Number: 23174
Gerrit-PatchSet: 1
Gerrit-Owner: Jonathan Neuschäfer <j.neuschaefer at gmx.net>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180108/cd716852/attachment.html>
More information about the coreboot-gerrit
mailing list