build: separate pkg builds from verify target
- This patch is required to eliminate the use
of .../vpp/extras/vagrant/build.sh by other
projects in order to build VPP packages for
verification/integration testing.
Type: fix
Change-Id: I63e08b27b715c0d40b44e2ce7b3e9a7ebf4f514b
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
diff --git a/Makefile b/Makefile
index 290ec50..ded43ea 100644
--- a/Makefile
+++ b/Makefile
@@ -594,7 +594,7 @@
docs-clean:
@($(SPHINX_SCRIPTS_DIR)/sphinx-make.sh clean)
-verify: install-dep $(BR)/.deps.ok install-ext-deps
+pkg-verify: install-dep $(BR)/.deps.ok install-ext-deps
$(call banner,"Building for PLATFORM=vpp using gcc")
@make -C build-root PLATFORM=vpp TAG=vpp wipe-all install-packages
$(call banner,"Building sample-plugin")
@@ -609,6 +609,8 @@
$(call banner,"Building VOM $(PKG) package")
@make vom-pkg-deb
endif
+
+verify: pkg-verify
ifeq ($(OS_ID)-$(OS_VERSION_ID),ubuntu-18.04)
$(call banner,"Running tests")
@make COMPRESS_FAILED_TEST_LOGS=yes RETRIES=3 test