From dac9ea86d346282d5d99ccddf2c6e8895e92a760 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sun, 19 Feb 2023 23:16:01 +0000 Subject: build/boot/roms: fail when build cbutils fails --- resources/scripts/build/boot/roms_helper | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'resources') diff --git a/resources/scripts/build/boot/roms_helper b/resources/scripts/build/boot/roms_helper index 5e279c48..9bcc6933 100755 --- a/resources/scripts/build/boot/roms_helper +++ b/resources/scripts/build/boot/roms_helper @@ -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) -- cgit v1.2.1