From b37ee1ee7c69836cfb333c13f787a1c3ba580b8f Mon Sep 17 00:00:00 2001 From: Idwer Vollering Date: Wed, 16 Jul 2014 22:22:59 +0200 Subject: 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 Reviewed-on: http://review.coreboot.org/6299 Reviewed-by: David Hendricks Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan Reviewed-by: Martin Roth --- util/board_status/board_status.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'util/board_status/board_status.sh') 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: # /// -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 -- cgit v1.2.3