summaryrefslogtreecommitdiff
path: root/resources/scripts/build/coreboot/utils
diff options
context:
space:
mode:
Diffstat (limited to 'resources/scripts/build/coreboot/utils')
-rwxr-xr-xresources/scripts/build/coreboot/utils6
1 files changed, 4 insertions, 2 deletions
diff --git a/resources/scripts/build/coreboot/utils b/resources/scripts/build/coreboot/utils
index a21da691..e24378d3 100755
--- a/resources/scripts/build/coreboot/utils
+++ b/resources/scripts/build/coreboot/utils
@@ -27,12 +27,14 @@ main()
{
if [ $# -gt 0 ]; then
for board in "${@}"; do
- build_for_mainboard ${board} || exit 1
+ build_for_mainboard ${board} || \
+ err "cannot build cbutils for target, ${board}"
done
else
for boarddir in resources/coreboot/*; do
[ ! -d "${boarddir}" ] && continue
- build_for_mainboard ${boarddir##*/} || exit 1
+ build_for_mainboard ${boarddir##*/} || \
+ err "cannot build cbutils for target, ${board}"
done
fi
}