From 06c78e1321736ed135c01d5ae11e3e0a47887137 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Fri, 7 Jun 2024 10:32:39 +0100 Subject: 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(+) (limited to 'script') diff --git a/script/trees b/script/trees index 45d2a35e..34397edd 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 } -- cgit v1.2.1