diff options
Diffstat (limited to 'util')
-rwxr-xr-x | util/board_status/board_status.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/util/board_status/board_status.sh b/util/board_status/board_status.sh index 373f8e3070..7389478614 100755 --- a/util/board_status/board_status.sh +++ b/util/board_status/board_status.sh @@ -215,7 +215,10 @@ tmpdir=$(mktemp -d --tmpdir coreboot_board_status.XXXXXXXX) # 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 |