summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscript/trees3
1 files changed, 3 insertions, 0 deletions
diff --git a/script/trees b/script/trees
index 09240af0..a86048b4 100755
--- a/script/trees
+++ b/script/trees
@@ -216,6 +216,9 @@ check_cross_compiler()
make -C "$cbdir" crossgcc-$xfix $xgccargs || \
make -C "$cbdir" crossgcc-$xfix $xgccargs || \
$err "!mkxgcc $project/$xtree '$xfix' '$xgccargs'"
+
+ # we only want to mess with hostcc to build xgcc
+ rm -f xbmkpath/* || $err "Cannot clear xbmkpath/"; :
done; return 0
}