X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=build-root%2Fbootstrap.sh;h=2949c1806c291a6323917e53960d807e4b2b7d45;hb=237d5aa0bf4f4898ebe18891e16f264fdcd3d61d;hp=5c8fe5f161f8c496cebed9e6bfca445ecbd3c508;hpb=7210e9470eeeb0ff1a259db1f448011da3774d8c;p=vpp.git diff --git a/build-root/bootstrap.sh b/build-root/bootstrap.sh index 5c8fe5f161f..2949c1806c2 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 @@ -43,7 +45,7 @@ cd $wsroot cd $build_root echo Compile native tools -for tool in vppapigen +for tool in tools do make V=0 is_build_tool=yes $tool-install done