build/fw/coreboot: correctly check built targets
Signed-off-by: Leah Rowe <leah@libreboot.org>btrfsvols
parent
fa8e204f14
commit
0962600c84
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue