Revert "scripts: Check coreboot config is correct"

This reverts commit af5041f90befc28d8d99efa052d5823b2b1833c6.
This commit is contained in:
Jeremy Soller 2021-02-26 15:28:05 -07:00
parent af5041f90b
commit 83b35f6870
No known key found for this signature in database
GPG Key ID: E988B49EE78A7FB1

View File

@ -17,19 +17,6 @@ pushd coreboot >/dev/null
fi
make distclean
make defconfig KBUILD_DEFCONFIG="${CONFIG}"
# Ensure config is correct
while read line; do
if [[ "${line}" =~ "^#" ]] || [[ -z "${line}" ]]; then
continue
fi
if ! grep -q "${line}" ".config"; then
echo "expected config not found: ${line}" >&2
exit 1
fi
done < "${CONFIG}"
make --jobs="$(nproc)"
cp -v "build/coreboot.rom" "${COREBOOT}"
popd >/dev/null