Enabled CCACHE_DIR to be set by ENV Variable

Change-Id: I0098f995b1f75bbad5c448d5a0d8facc43e6f5cb
Signed-off-by: Ed Warnicke <eaw@cisco.com>
This commit is contained in:
Ed Warnicke
2016-02-02 19:28:59 -08:00
parent f1bb047ae8
commit c28b474591

View File

@ -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