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>
This commit is contained in:
Patrick Georgi 2015-06-12 11:35:10 +02:00 committed by Patrick Georgi
parent e10c82a23a
commit 368488ae29
1 changed files with 3 additions and 0 deletions

View File

@ -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