diff --git a/script/trees b/script/trees index 27c5f59..ca022b2 100755 --- a/script/trees +++ b/script/trees @@ -118,6 +118,7 @@ handle_src_tree() { target_dir="$cfgsdir/$target" + fetch_project "$project" load_target_config "$target_dir" || return 1 x_ mkdir -p "$elfdir/$target" @@ -139,9 +140,6 @@ handle_src_tree() load_target_config() { - [ "$cmd" = "build_targets" ] && [ ! -d "src/$project/$project" ] && \ - x_ mkdir -p "src/$project" && fetch_project "$project" - eval `setvars "" xarch xlang bootstrapargs autoconfargs xtree \ tree_depend makeargs btype mkhelper` [ -f "$1/target.cfg" ] || btype="auto"