summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build/build_common.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/build/build_common.mk b/build/build_common.mk
index 5c4a1654919..88529a4537e 100644
--- a/build/build_common.mk
+++ b/build/build_common.mk
@@ -14,6 +14,9 @@
# Scripts require non-POSIX parts of bash
SHELL := $(shell which bash)
+ifneq ($(NOMAD_TASK_NAME),)
+WORKSPACE ?= $(shell dirname $(shell dirname $(CURDIR)))
+endif
DL_CACHE_DIR = $(HOME)/Downloads
MAKE_ARGS ?= -j
BUILD_DIR ?= $(CURDIR)/_build
@@ -34,7 +37,7 @@ D := $(DOWNLOAD_DIR)
ifeq ($(WORKSPACE),)
L := $(B)
else
-L := $(WORKSPACE)/archives/vpp-ext-deps
+L := $(WORKSPACE)/archives/install-deps-logs
$(shell rm -rf $(L) && mkdir -p $(L))
endif