From c28b4745911de6834a89343f40c35cafab59a706 Mon Sep 17 00:00:00 2001 From: Ed Warnicke Date: Tue, 2 Feb 2016 19:28:59 -0800 Subject: Enabled CCACHE_DIR to be set by ENV Variable Change-Id: I0098f995b1f75bbad5c448d5a0d8facc43e6f5cb Signed-off-by: Ed Warnicke --- build-root/bootstrap.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'build-root/bootstrap.sh') diff --git a/build-root/bootstrap.sh b/build-root/bootstrap.sh index 5c8fe5f1..f83734fd 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 -- cgit 1.2.3-korg