summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2016-11-19 12:04:34 +0100
committerDamjan Marion <damarion@cisco.com>2016-11-19 12:15:52 +0100
commitc21d59fa3354c2a1f7f4510793605104c9348e1c (patch)
tree6f289d020a6a79d8fc969825618d2575af6115a6
parent7dc4146eb15a3244d529410cc4adf09a636c2fdb (diff)
make: call install-dep on unatteded invocation
Change-Id: I7a3c21c47f49b56b6435397e731d4da961ef8ffd Signed-off-by: Damjan Marion <damarion@cisco.com>
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 4e084d4dfe0..10b210c1930 100644
--- a/Makefile
+++ b/Makefile
@@ -118,6 +118,9 @@ help:
@echo " DPDK_VERSION = $(DPDK_VERSION)"
$(BR)/.bootstrap.ok:
+ifeq ($(findstring y,$(UNATTENDED)),y)
+ make install-dep
+endif
ifeq ($(OS_ID),ubuntu)
@MISSING=$$(apt-get install -y -qq -s $(DEB_DEPENDS) | grep "^Inst ") ; \
if [ -n "$$MISSING" ] ; then \
@@ -341,6 +344,7 @@ ifeq ($(OS_ID),ubuntu)
ifeq ($(OS_VERSION_ID),16.04)
$(call banner,"Installing dependencies")
@sudo -E apt-get update
+ @make install-dep
@sudo -E apt-get $(CONFIRM) $(FORCE) install clang
$(call banner,"Building for PLATFORM=vpp using clang")
@make -C build-root CC=clang PLATFORM=vpp TAG=vpp_clang wipe-all install-packages