build/boot/roms: fail when build cbutils fails
parent
0d0f6cf3b8
commit
dac9ea86d3
|
@ -212,7 +212,7 @@ fi
|
||||||
export PATH="$(pwd)/${cbdir}/util/crossgcc/xgcc/bin:$PATH"
|
export PATH="$(pwd)/${cbdir}/util/crossgcc/xgcc/bin:$PATH"
|
||||||
|
|
||||||
if [ ! -f "${cbfstool}" ]; then
|
if [ ! -f "${cbfstool}" ]; then
|
||||||
./build module cbutils ${cbtree}
|
./build module cbutils ${cbtree} || exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -f "${seavgabiosrom}" ] \
|
if [ ! -f "${seavgabiosrom}" ] \
|
||||||
|
@ -346,7 +346,7 @@ mkCoreboot() {
|
||||||
fi
|
fi
|
||||||
)
|
)
|
||||||
cp "${cbcfgpath}" "${cbdir}"/.config
|
cp "${cbcfgpath}" "${cbdir}"/.config
|
||||||
./build module cbutils ${cbdir#coreboot/}
|
./build module cbutils ${cbdir#coreboot/} || exit 1
|
||||||
(
|
(
|
||||||
cd "${cbdir}"
|
cd "${cbdir}"
|
||||||
make -j$(nproc)
|
make -j$(nproc)
|
||||||
|
|
Loading…
Reference in New Issue