IPIP: Linter on test_*.py
[vpp.git] / build-root / bootstrap.sh
index 3f71cef..ec4f643 100755 (executable)
@@ -23,10 +23,7 @@ if [[ ! $CCACHE_DIR ]];then
 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 
 echo Saving PATH settings in `pwd`/path_setup
 echo Source this file later, as needed
 cat >path_setup <<EOF
@@ -37,29 +34,13 @@ export CCACHE_DIR=$CCACHE_DIR
 EOF
 
 # regenerate tools/ccache-bin
-rm -rf tools/ccache-bin
-mkdir -p tools/ccache-bin
+mkdir -p tools/bin
 
 if [ ! -f /usr/bin/ccache ] ; then
-    echo Please install ccache AYEC and re-run this script
+    echo CCACHE is required. Please install it!
+    exit 1
 fi
 
-cd tools/ccache-bin
-for c in gcc g++
-    do
-    if [ -f /usr/bin/ccache ] ; then
-        ln -s /usr/bin/ccache $c
-    else
-        ln -s /usr/bin/gcc
-    fi
-done
-
-cd $wsroot
-
 cd $build_root
-echo Compile native tools
-for tool in tools
-do
-    make V=0 is_build_tool=yes $tool-install
-done
 
+exit 0