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:
parent
e10c82a23a
commit
368488ae29
|
@ -219,6 +219,8 @@ if test ! -x build/cbfstool; then
|
||||||
fi
|
fi
|
||||||
test_cmd $LOCAL "$cbfstool_cmd"
|
test_cmd $LOCAL "$cbfstool_cmd"
|
||||||
$cbfstool_cmd build/coreboot.rom extract -n config -f ${tmpdir}/config.txt
|
$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
|
$cbfstool_cmd build/coreboot.rom print > ${tmpdir}/cbfs.txt
|
||||||
|
|
||||||
# Obtain board and revision info to form the directory structure:
|
# 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}"
|
mkdir -p "${tmpdir}/${results}"
|
||||||
|
|
||||||
mv "${tmpdir}/config.txt" "${tmpdir}/${results}"
|
mv "${tmpdir}/config.txt" "${tmpdir}/${results}"
|
||||||
|
mv "${tmpdir}/config.short.txt" "${tmpdir}/${results}"
|
||||||
mv "${tmpdir}/cbfs.txt" "${tmpdir}/${results}"
|
mv "${tmpdir}/cbfs.txt" "${tmpdir}/${results}"
|
||||||
|
|
||||||
touch ${tmpdir}/${results}/revision.txt
|
touch ${tmpdir}/${results}/revision.txt
|
||||||
|
|
Loading…
Reference in New Issue