From 9168d33741c98552aaa4152116e731cf7747dce5 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Fri, 7 Jun 2024 10:32:39 +0100 Subject: [PATCH] trees: don't say check elf/ if build.list missing (on single tree projects. this complements the last patch) Signed-off-by: Leah Rowe --- script/trees | 3 +++ 1 file changed, 3 insertions(+) diff --git a/script/trees b/script/trees index f735553..8bf0369 100755 --- a/script/trees +++ b/script/trees @@ -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 }