aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-03-14 22:09:22 +0100
committerDamjan Marion <damarion@cisco.com>2018-03-15 02:09:05 +0100
commit92b44ea50a21b878b35f081bfc90c06b799c0c03 (patch)
treec674c282527dcdad6587128ac966410e313f7063 /Makefile
parent1fcbd728095b4fbb3e1b4a757f3bc3f19ba879c7 (diff)
use system provided ccache links
Change-Id: I0860bbd0cf368fc3638b861504ebf642ee9d3807 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 0 insertions, 20 deletions
diff --git a/Makefile b/Makefile
index 9782a2dc70e..77919d73d82 100644
--- a/Makefile
+++ b/Makefile
@@ -249,26 +249,6 @@ else ifneq ("$(wildcard /etc/redhat-release)","")
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 $@
bootstrap: $(BR)/.bootstrap.ok