aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Warnicke <eaw@cisco.com>2016-02-02 19:28:59 -0800
committerEd Warnicke <eaw@cisco.com>2016-02-02 19:30:31 -0800
commitc28b4745911de6834a89343f40c35cafab59a706 (patch)
treeaef03080492892c5292be397c2f5c23a0e85c380
parentf1bb047ae820a4068fe32c23aea46e6a84db7c9c (diff)
Enabled CCACHE_DIR to be set by ENV Variable
Change-Id: I0098f995b1f75bbad5c448d5a0d8facc43e6f5cb Signed-off-by: Ed Warnicke <eaw@cisco.com>
-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