X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=Makefile;h=10b210c1930ab308bb489c959a84831c2ab7056a;hb=ed1c1835043a1d266a5928c40f41b340f6c968d7;hp=41a45c88beb46b3afa93e52d04b4df60f67e2844;hpb=e30872e6606b4ce6fe1d6ff44be69e590427e45f;p=vpp.git diff --git a/Makefile b/Makefile index 41a45c88beb..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 \ @@ -212,7 +215,7 @@ build-vpp-api: $(BR)/.bootstrap.ok VPP_PYTHON_PREFIX=$(BR)/python define test - $(if $(filter-out $(3),retest),make -C $(BR) PLATFORM=$(1) TAG=$(2) vpp-api-install plugins-install vpp-install vpp-api-test-install,) + $(if $(filter-out $(3),retest),make -C $(BR) PLATFORM=$(1) TAG=$(2) vpp-api-install plugins-install vpp-install,) make -C test \ VPP_TEST_BIN=$(BR)/install-$(2)-native/vpp/bin/vpp \ VPP_TEST_API_TEST_BIN=$(BR)/install-$(2)-native/vpp-api-test/bin/vpp_api_test \ @@ -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