roms: re-introduce accidentally disabled check

i disabled a check in the script, while testing a prior
modification. re-introoduce the check, which is put there
to yield an error condition if no targets were compiled.

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe 2024-06-19 01:29:26 +01:00 committed by Leah Rowe
parent 14a05f72fb
commit faddd02ef5

View file

@ -45,7 +45,7 @@ main()
&& targets="$targets, $x"; continue
done
# [ -z "$targets" ] && $err "No ROM images were compiled"
[ -z "$targets" ] && $err "No ROM images were compiled"
printf "Check these ROM directories in bin/: %s\n" "${targets#, }"
printf "DO NOT flash images from elf/ - use bin/ instead. ALSO:\n"
printf "%s\n" "$kbnotice"