summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
Diffstat (limited to 'script')
-rwxr-xr-xscript/trees4
1 files changed, 1 insertions, 3 deletions
diff --git a/script/trees b/script/trees
index dfe1eb01..cce30980 100755
--- a/script/trees
+++ b/script/trees
@@ -120,6 +120,7 @@ handle_src_tree()
{
target_dir="$cfgsdir/$target"
+ fetch_project "$project"
load_target_config "$target_dir" || return 1
x_ mkdir -p "$elfdir/$target"
@@ -141,9 +142,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"