summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@chromium.org>2015-06-12 11:35:10 +0200
committerPatrick Georgi <pgeorgi@google.com>2015-08-10 18:04:19 +0200
commit368488ae295db84c8983a4fbf85dd3857095bdc6 (patch)
treee494f2a1d71a83f207ea125035a78ab320afda7e
parente10c82a23a9fc442b314f217a027c9712ed37b3a (diff)
board-status: expand minimized config to full size
Otherwise the later processing may fail. Keep minimized version as config.short.txt for the user's benefit. Change-Id: I1082ff68de85027d526266cdbf2073d22ce7f2e0 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-on: http://review.coreboot.org/10525 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
-rwxr-xr-xutil/board_status/board_status.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/board_status/board_status.sh b/util/board_status/board_status.sh
index 0f5627d653..ec98277aea 100755
--- a/util/board_status/board_status.sh
+++ b/util/board_status/board_status.sh
@@ -219,6 +219,8 @@ if test ! -x build/cbfstool; then
fi
test_cmd $LOCAL "$cbfstool_cmd"
$cbfstool_cmd build/coreboot.rom extract -n config -f ${tmpdir}/config.txt
+cp ${tmpdir}/config.txt ${tmpdir}/config.short.txt
+yes "" | make DOTCONFIG=${tmpdir}/config.txt oldconfig
$cbfstool_cmd build/coreboot.rom print > ${tmpdir}/cbfs.txt
# Obtain board and revision info to form the directory structure:
@@ -238,6 +240,7 @@ echo "Temporarily placing output in ${tmpdir}/${results}"
mkdir -p "${tmpdir}/${results}"
mv "${tmpdir}/config.txt" "${tmpdir}/${results}"
+mv "${tmpdir}/config.short.txt" "${tmpdir}/${results}"
mv "${tmpdir}/cbfs.txt" "${tmpdir}/${results}"
touch ${tmpdir}/${results}/revision.txt