summaryrefslogtreecommitdiffstats
path: root/build-root/bootstrap.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build-root/bootstrap.sh')
-rwxr-xr-xbuild-root/bootstrap.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/build-root/bootstrap.sh b/build-root/bootstrap.sh
index 5c8fe5f161f..f83734fd4af 100755
--- a/build-root/bootstrap.sh
+++ b/build-root/bootstrap.sh
@@ -5,7 +5,9 @@ cd ../
wsroot=`pwd`
# PATH
-CCACHE_DIR="$build_root/.ccache"
+if [[ ! $CCACHE_DIR ]];then
+ CCACHE_DIR="$build_root/.ccache"
+fi
ADD_TO_PATH="$build_root/tools/ccache-bin:$build_root/tools/bin"
# Construct build-config.mk