Update coreboot and skip building toolchain if already built

This commit is contained in:
Jeremy Soller
2019-05-10 11:08:00 -06:00
parent 678242f46d
commit 00c056b5e3
2 changed files with 5 additions and 2 deletions

View File

@@ -11,7 +11,10 @@ CONFIG="$(realpath "$1")"
COREBOOT="$(realpath "$2")"
pushd coreboot >/dev/null
make CPUS="$(nproc)" crossgcc-i386
if [ ! -d util/crossgcc/xgcc ]
then
make CPUS="$(nproc)" crossgcc-i386
fi
make distclean
cp -v "${CONFIG}" .config
make --jobs="$(nproc)"