build/fw/coreboot: correctly check built targets

Signed-off-by: Leah Rowe <leah@libreboot.org>
btrfsvols
Leah Rowe 2023-10-07 02:55:17 +01:00
parent fa8e204f14
commit 0962600c84
1 changed files with 2 additions and 2 deletions

View File

@ -55,8 +55,8 @@ main()
board="${x}" board="${x}"
check_target check_target
prepare_target prepare_target
[ -f "bin/${x}" ] || continue [ -d "bin/${board}" ] || continue
targets="bin/${x}\n${targets}" targets="bin/${board}, ${targets}"
done done
[ -z ${targets} ] && err "No ROM images were compiled" [ -z ${targets} ] && err "No ROM images were compiled"