Idwer Vollering has uploaded this change for review.

View Change

util/board_status/board_status.sh: build the cbmem binary when absent

Signed-off-by: Idwer Vollering <vidwer@gmail.com>
Change-Id: Ia6442e8ba5e789fc5eab89b6796ec45635f1e923
---
M util/board_status/board_status.sh
1 file changed, 6 insertions(+), 1 deletion(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/10/49310/1
diff --git a/util/board_status/board_status.sh b/util/board_status/board_status.sh
index cc83bd4..76ff594 100755
--- a/util/board_status/board_status.sh
+++ b/util/board_status/board_status.sh
@@ -401,7 +401,12 @@
if [ -n "$CBMEM_PATH" ]; then
cbmem_cmd="$CBMEM_PATH"
else
- cbmem_cmd="cbmem"
+ if [ -e util/cbmem/ ] && [ ! -x util/cbmem/cbmem ]; then
+ $MAKE -C util/cbmem/
+ cbmem_cmd="util/cbmem/cbmem"
+ else
+ cbmem_cmd="cbmem"
+ fi
fi

cmos_enabled=0

To view, visit change 49310. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ia6442e8ba5e789fc5eab89b6796ec45635f1e923
Gerrit-Change-Number: 49310
Gerrit-PatchSet: 1
Gerrit-Owner: Idwer Vollering <vidwer@gmail.com>
Gerrit-MessageType: newchange