scripts: Build coreboot toolchain as part of deps

Front load building the toolchain binaries when installing deps instead
of during the first board build.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
This commit is contained in:
Tim Crawford 2022-07-12 10:33:16 -06:00 committed by Tim Crawford
parent 42814e6e5c
commit f311c8b10f

View File

@ -121,6 +121,12 @@ pushd ec
./scripts/deps.sh
popd
msg "Building coreboot toolchains"
pushd coreboot
make crossgcc-i386
make crossgcc-x64
popd
if [[ $RUSTUP_NEW_INSTALL = 1 ]]; then
msg "\x1B[33m>> rustup was just installed. Ensure cargo is on the PATH with:"
echo -e " source ~/.cargo/env\n"