summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorEd Warnicke <hagbard@gmail.com>2016-11-22 17:57:30 +0000
committerDamjan Marion <dmarion.lists@gmail.com>2016-11-29 17:35:44 +0000
commitddff8a4ee423cf76b14278edee75d5fa369300c0 (patch)
tree812dcb6e2b33f55d3c2cd7b66a22c4797656e996 /Makefile
parentcfce8fa44378cb6843a8e9f5bb6aff8dd5fc5cf7 (diff)
Have make verify check deb and rpm builds
Change-Id: I7fe3558118835240ecd155609821f9de2d609553 Signed-off-by: Ed Warnicke <hagbard@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 12e8904c111..f6dcfc2dbd7 100644
--- a/Makefile
+++ b/Makefile
@@ -340,6 +340,11 @@ define banner
endef
verify: install-dep $(BR)/.bootstrap.ok
+ $(call banner,"Building for PLATFORM=vpp using gcc")
+ @make -C build-root PLATFORM=vpp TAG=vpp wipe-all install-packages
+ $(call banner,"Building for PLATFORM=vpp_lite using gcc")
+ @make -C build-root PLATFORM=vpp_lite TAG=vpp_lite wipe-all install-packages
+ @make test
ifeq ($(OS_ID),ubuntu)
ifeq ($(OS_VERSION_ID),16.04)
$(call banner,"Installing dependencies")
@@ -348,9 +353,10 @@ ifeq ($(OS_VERSION_ID),16.04)
$(call banner,"Building for PLATFORM=vpp using clang")
@make -C build-root CC=clang PLATFORM=vpp TAG=vpp_clang wipe-all install-packages
endif
+ @make pkg-deb
endif
- $(call banner,"Building for PLATFORM=vpp using gcc")
- @make -C build-root PLATFORM=vpp TAG=vpp wipe-all install-packages
- $(call banner,"Building for PLATFORM=vpp_lite using gcc")
- @make -C build-root PLATFORM=vpp_lite TAG=vpp_lite wipe-all install-packages
- @make test
+ifeq ($(OS_ID),centos)
+ @make pkg-rpm
+endif
+
+