diff --git a/script/build/fw/coreboot b/script/build/fw/coreboot index 481c6fba..db6dd443 100755 --- a/script/build/fw/coreboot +++ b/script/build/fw/coreboot @@ -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"