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

Idwer Vollering (vidwer@gmail.com) gerrit at coreboot.org
Wed Jul 16 22:57:58 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 2ee419a26aaeb2b904943c8f3ee8e504a833b5a7
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..75b4237 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 util/cbfstool/cbfstool -a 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