X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=build-root%2Fbootstrap.sh;h=2419b6ae254208bf3f85a4b80678fcb92f324156;hb=1b1ee4f2e550d2cf98e5e5f718ad5543389c8c37;hp=bc833f12d96c7f58c24af4c3391a0d066d677837;hpb=317be0349275f1f461028853d936670729591796;p=vpp.git diff --git a/build-root/bootstrap.sh b/build-root/bootstrap.sh index bc833f12d96..2419b6ae254 100755 --- a/build-root/bootstrap.sh +++ b/build-root/bootstrap.sh @@ -5,12 +5,14 @@ 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 cd $build_root -echo SOURCE_PATH = $wsroot > build-config.mk +echo SOURCE_PATH = $wsroot $wsroot/plugins/ > build-config.mk echo echo Saving PATH settings in `pwd`/path_setup echo Source this file later, as needed @@ -41,15 +43,6 @@ done cd $wsroot -for dir in vppapigen vppinfra sample-plugin svm vlib vlib-api vnet \ - vpp vpp-api-test vpp-japi -do - cd $dir - echo "Autowank in $dir" - ../build-root/autowank --touch - cd $wsroot -done - cd $build_root echo Compile native tools for tool in vppapigen