Idwer Vollering (vidwer@gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/7081
-gerrit
commit 57dd06cf48026ef7253b740b36d83d0213330273 Author: Paul Menzel paulepanter@users.sourceforge.net Date: Fri Oct 17 09:49:14 2014 +0200
util/board_status: Create the build directory before populating it
Running util/board_status/board_status.sh fails when the output directory build/ does not exist. Ensure that the directory build exists, before copying the cbfstool binary into it.
Change-Id: I44155a0ca1eccc7b447b88ffaf6f3591b87fbad0 Signed-off-by: Paul Menzel paulepanter@users.sourceforge.net --- util/board_status/board_status.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/util/board_status/board_status.sh b/util/board_status/board_status.sh index 49d2c73..c5cb071 100755 --- a/util/board_status/board_status.sh +++ b/util/board_status/board_status.sh @@ -215,9 +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="build/cbfstool" -if test ! -x build/cbfstool; then - make -C util/cbfstool/ && cp util/cbfstool/cbfstool build/cbfstool +cbfstool_cmd="util/cbfstool/cbfstool" +if test ! -x cbfstool_cmd; then + mkdir -p build + make -C util/cbfstool/ fi test_cmd $LOCAL "$cbfstool_cmd" $cbfstool_cmd build/coreboot.rom extract -n config -f ${tmpdir}/config.txt