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>
audit2-merge1
Leah Rowe 2024-06-07 10:32:39 +01:00 committed by Leah Rowe
parent db09530905
commit 9168d33741
1 changed files with 3 additions and 0 deletions

View File

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