From 0962600c8402665992e7ebfac3cee7a2aad959fd Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 7 Oct 2023 02:55:17 +0100 Subject: build/fw/coreboot: correctly check built targets Signed-off-by: Leah Rowe --- script/build/fw/coreboot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'script/build/fw') 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" -- cgit v1.2.1