X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=Makefile;h=77919d73d82a3dd0639f1bd3f3d2e0e38981bd66;hb=92b44ea50a21b878b35f081bfc90c06b799c0c03;hp=9782a2dc70ebc09c2d7e014f2e6c12e714f306ca;hpb=1fcbd728095b4fbb3e1b4a757f3bc3f19ba879c7;p=vpp.git diff --git a/Makefile b/Makefile index 9782a2dc70e..77919d73d82 100644 --- a/Makefile +++ b/Makefile @@ -248,26 +248,6 @@ else ifneq ("$(wildcard /etc/redhat-release)","") exit 1 ; \ fi ; \ exit 0 -endif - @echo "SOURCE_PATH = $(WS_ROOT)" > $(BR)/build-config.mk - @echo "#!/bin/bash\n" > $(BR)/path_setup - @echo 'export PATH=$(BR)/tools/ccache-bin:$$PATH' >> $(BR)/path_setup - @echo 'export PATH=$(BR)/tools/bin:$$PATH' >> $(BR)/path_setup - @echo 'export CCACHE_DIR=$(CCACHE_DIR)' >> $(BR)/path_setup - -ifeq ("$(wildcard /usr/bin/ccache )","") - @echo "WARNING: Please install ccache AYEC and re-run this script" -else - @rm -rf $(BR)/tools/ccache-bin - @mkdir -p $(BR)/tools/ccache-bin - @ln -s /usr/bin/ccache $(BR)/tools/ccache-bin/gcc - @ln -s /usr/bin/ccache $(BR)/tools/ccache-bin/g++ - @ln -s /usr/bin/ccache $(BR)/tools/ccache-bin/clang - @ln -s /usr/bin/ccache $(BR)/tools/ccache-bin/clang++ - @mkdir -p $(BR)/tools/bin - @rm -f $(BR)/tools/bin/vppapigen - @ln -s $(WS_ROOT)/src/tools/vppapigen/vppapigen \ - $(BR)/tools/bin/vppapigen endif @touch $@