summaryrefslogtreecommitdiff
path: root/script/trees
diff options
context:
space:
mode:
Diffstat (limited to 'script/trees')
-rwxr-xr-xscript/trees3
1 files changed, 3 insertions, 0 deletions
diff --git a/script/trees b/script/trees
index b5cf13f0..0a9cf90d 100755
--- a/script/trees
+++ b/script/trees
@@ -142,6 +142,9 @@ handle_src_tree()
load_project_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"