diff --git a/script/trees b/script/trees index a27dbb5..5113e98 100755 --- a/script/trees +++ b/script/trees @@ -43,6 +43,9 @@ main() _cmd="build_projects" singletree "$project" || _cmd="build_targets" $_cmd $@ + + [ "$target1" = "utils" ] && [ "$project" = "coreboot" ] && return 0 + [ -z "$mode" ] && printf "\n\nDone! Check %s/\n\n" "$elfdir"; return 0 } build_projects() @@ -92,9 +95,6 @@ handle_targets() printf "'make %s', '%s', '%s'\n" "$mode" "$project" "$target" x_ handle_defconfig done - - [ "$target1" = "utils" ] && [ "$project" = "coreboot" ] && return 0 - [ -z "$mode" ] && printf "Done! Check %s/\n\n" "$elfdir"; return 0 } handle_defconfig()