summaryrefslogtreecommitdiffstats
path: root/build/external/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'build/external/Makefile')
-rw-r--r--build/external/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/build/external/Makefile b/build/external/Makefile
index 6b5f9058dda..ce57c79eec2 100644
--- a/build/external/Makefile
+++ b/build/external/Makefile
@@ -30,6 +30,12 @@ endif # FreeBSD
B := $(BUILD_DIR)
I := $(INSTALL_DIR)
+ifeq ($(WORKSPACE),)
+L := $(B)
+else
+L := $(WORKSPACE)/archives/vpp-ext-deps
+$(shell rm -rf $(L) && mkdir -p $(L))
+endif
ifneq ($(shell which cmake3),)
CMAKE?=cmake3