[coreboot-gerrit] Patch set updated for coreboot: util/scripts: Support cygwin in ucode conversion tool

Marshall Dawson (marshalldawson3rd@gmail.com) gerrit at coreboot.org
Sun Jul 10 15:30:50 CEST 2016


Marshall Dawson (marshalldawson3rd at gmail.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/15437

-gerrit

commit 3966a477a3aca5f92f45b1c298f1fd912491fb8f
Author: Marshall Dawson <marshalldawson3rd at gmail.com>
Date:   Sat Jun 25 10:17:07 2016 -0600

    util/scripts: Support cygwin in ucode conversion tool
    
    Check for the existence of TMPFILE with a .exe extension and if found
    rename it with no extension.  This allows the program to be run and
    removed properly.
    
    Change-Id: I26928f9b8bf82d1c07fa456a88d624f7a8838bd3
    Signed-off-by: Marshall Dawson <marshalldawson3rd at gmail.com>
---
 util/scripts/ucode_h_to_bin.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/util/scripts/ucode_h_to_bin.sh b/util/scripts/ucode_h_to_bin.sh
index 4f51182..2d7f5fa 100755
--- a/util/scripts/ucode_h_to_bin.sh
+++ b/util/scripts/ucode_h_to_bin.sh
@@ -56,5 +56,6 @@ int main(void)
 EOF
 
 gcc -o "$TMPFILE" "${TMPFILE}.c"
+[ -f "${TMPFILE}.exe" ] && mv "${TMPFILE}.exe" "$TMPFILE"
 "./$TMPFILE"
 rm "$TMPFILE" "${TMPFILE}.c"



More information about the coreboot-gerrit mailing list