[coreboot-gerrit] Patch set updated for coreboot: d7a30ea util/board_status: use the right location of cbfstool

Idwer Vollering (vidwer@gmail.com) gerrit at coreboot.org
Thu Jul 17 22:22:07 CEST 2014


Idwer Vollering (vidwer at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6299

-gerrit

commit d7a30ea292415e68f7061aa9324daab439417d37
Author: Idwer Vollering <vidwer at gmail.com>
Date:   Wed Jul 16 22:22:59 2014 +0200

    util/board_status: use the right location of cbfstool
    
    The cbfstool binary in util/ doesn't exist as often as build/cbfstool does.
    Since cbfstool obtains details from coreboot.rom, use the binary in build/
    
    Change-Id: Id7d5632f4e5cbd5ede58cd136c37b0dacee9ff93
    Signed-off-by: Idwer Vollering <vidwer at gmail.com>
---
 util/board_status/board_status.sh | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/util/board_status/board_status.sh b/util/board_status/board_status.sh
index 7c321b3..f34e398 100755
--- a/util/board_status/board_status.sh
+++ b/util/board_status/board_status.sh
@@ -150,7 +150,10 @@ tmpdir=$(mktemp -d)
 
 # Obtain board and revision info to form the directory structure:
 # <vendor>/<board>/<revision>/<timestamp>
-cbfstool_cmd="util/cbfstool/cbfstool"
+cbfstool_cmd="build/cbfstool"
+if test ! -x build/cbfstool; then
+	make -C util/cbfstool/ && cp util/cbfstool/cbfstool build/cbfstool
+fi
 test_cmd $LOCAL "$cbfstool_cmd"
 $cbfstool_cmd build/coreboot.rom extract -n config -f ${tmpdir}/config.txt
 $cbfstool_cmd build/coreboot.rom print > ${tmpdir}/cbfs.txt



More information about the coreboot-gerrit mailing list