Revert "scripts: Check coreboot config is correct"
This reverts commit af5041f90b
.
This commit is contained in:
@ -17,19 +17,6 @@ pushd coreboot >/dev/null
|
|||||||
fi
|
fi
|
||||||
make distclean
|
make distclean
|
||||||
make defconfig KBUILD_DEFCONFIG="${CONFIG}"
|
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)"
|
make --jobs="$(nproc)"
|
||||||
cp -v "build/coreboot.rom" "${COREBOOT}"
|
cp -v "build/coreboot.rom" "${COREBOOT}"
|
||||||
popd >/dev/null
|
popd >/dev/null
|
||||||
|
Reference in New Issue
Block a user