summaryrefslogtreecommitdiff
path: root/script/build/fw
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-10-07 02:55:17 +0100
committerLeah Rowe <leah@libreboot.org>2023-10-07 02:55:17 +0100
commit0962600c8402665992e7ebfac3cee7a2aad959fd (patch)
tree44bcf1e9257d49f29784ab72a9498c9db347b493 /script/build/fw
parentfa8e204f144ebe318f6173d2570dd90d50dace87 (diff)
build/fw/coreboot: correctly check built targets
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/build/fw')
-rwxr-xr-xscript/build/fw/coreboot4
1 files changed, 2 insertions, 2 deletions
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"