summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
Diffstat (limited to 'script')
-rwxr-xr-xscript/trees1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/trees b/script/trees
index 4d71dbbe..85fe4a26 100755
--- a/script/trees
+++ b/script/trees
@@ -154,6 +154,7 @@ load_project_config()
{
eval `setvars "" xarch xlang tree bootstrapargs autoconfargs xtree \
tree_depend makeargs btype`
+ [ -f "$1/target.cfg" ] || btype="auto"
eval `setcfg "$1/target.cfg" 0`
[ -z "$btype" ] || [ "${mode%config}" = "$mode" ] || \
return 1; return 0