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}"
check_target
prepare_target
[ -f "bin/${x}" ] || continue
targets="bin/${x}\n${targets}"
[ -d "bin/${board}" ] || continue
targets="bin/${board}, ${targets}"
done
[ -z ${targets} ] && err "No ROM images were compiled"