build: separate pkg builds from verify target 69/20669/2
authorDave Wallace <dwallacelf@gmail.com>
Mon, 15 Jul 2019 16:03:51 +0000 (12:03 -0400)
committerDave Barach <openvpp@barachs.net>
Tue, 16 Jul 2019 11:43:19 +0000 (11:43 +0000)
- 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>
Makefile

index 290ec50..ded43ea 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -594,7 +594,7 @@ docs: $(DOCS_DIR)
 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 @@ ifeq ($(OS_ID),ubuntu)
        $(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