8 CCACHE_DIR="$build_root/.ccache"
9 ADD_TO_PATH="$build_root/tools/ccache-bin:$build_root/tools/bin"
11 # Construct build-config.mk
13 echo SOURCE_PATH = $wsroot > build-config.mk
15 echo Saving PATH settings in `pwd`/path_setup
16 echo Source this file later, as needed
20 export PATH=$ADD_TO_PATH:$PATH
21 export CCACHE_DIR=$CCACHE_DIR
24 # regenerate tools/ccache-bin
25 rm -rf tools/ccache-bin
26 mkdir -p tools/ccache-bin
28 if [ ! -f /usr/bin/ccache ] ; then
29 echo Please install ccache AYEC and re-run this script
35 if [ -f /usr/bin/ccache ] ; then
36 ln -s /usr/bin/ccache $c
44 for dir in vppapigen vppinfra sample-plugin vppversion svm vlib vlib-api vnet \
45 vpp vpp-api-test vpp-japi
48 echo "Autowank in $dir"
49 ../build-root/autowank --touch
54 echo Compile native tools
55 for tool in vppapigen vppversion
57 make V=0 is_build_tool=yes $tool-install