build/boot/roms: fail when build cbutils fails

fsdg20230625
Leah Rowe 2023-02-19 23:16:01 +00:00
parent 0d0f6cf3b8
commit dac9ea86d3
1 changed files with 2 additions and 2 deletions

View File

@ -212,7 +212,7 @@ fi
export PATH="$(pwd)/${cbdir}/util/crossgcc/xgcc/bin:$PATH"
if [ ! -f "${cbfstool}" ]; then
./build module cbutils ${cbtree}
./build module cbutils ${cbtree} || exit 1
fi
if [ ! -f "${seavgabiosrom}" ] \
@ -346,7 +346,7 @@ mkCoreboot() {
fi
)
cp "${cbcfgpath}" "${cbdir}"/.config
./build module cbutils ${cbdir#coreboot/}
./build module cbutils ${cbdir#coreboot/} || exit 1
(
cd "${cbdir}"
make -j$(nproc)