trees: don't say check elf/ if build.list missing

(on single tree projects. this complements the last patch)

Signed-off-by: Leah Rowe <leah@libreboot.org>
20240612_branch
Leah Rowe 2024-06-07 10:32:39 +01:00
parent dea41f138a
commit 06c78e1321
1 changed files with 3 additions and 0 deletions

View File

@ -46,6 +46,8 @@ main()
$_cmd $@
[ "$target1" = "utils" ] && [ "$project" = "coreboot" ] && return 0
[ -f "$listfile" ] || return 0
[ -z "$mode" ] && printf "\n\nDone! Check %s/\n\n" "$elfdir"; return 0
}
@ -68,6 +70,7 @@ build_projects()
[ "$mode" = "distclean" ] && mode="clean"
run_make_command || return 0
[ -f "$listfile" ] || return 0
[ -n "$mode" ] || x_ mkdir -p "$elfdir"
[ -n "$mode" ] || copy_elf; return 0
}