summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>2017-03-22 15:22:14 +0000
committerDamjan Marion <dmarion.lists@gmail.com>2017-05-30 09:31:29 +0000
commit0e2e10b77d63196bfb93ae5be1251bbc1a1b561a (patch)
tree38cfb04f4284fe5d5184c09b95689c79d950075c /Makefile
parentd5a65db98d66c66b03b057ac568be05f2456f73c (diff)
dpdk: build sw cryptodev support with make verify
Change-Id: Ica95b5d3d44563c93c89b2a3233171c3aa1f048d Signed-off-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 946a8583d59..f78549f423d 100644
--- a/Makefile
+++ b/Makefile
@@ -427,22 +427,24 @@ define banner
@echo " "
endef
-verify: install-dep $(BR)/.bootstrap.ok dpdk-install-dev
+verify: install-dep $(BR)/.bootstrap.ok
+ make -C dpdk install-$(PKG) DPDK_CRYPTO_SW_PMD=y
$(call banner,"Building for PLATFORM=vpp using gcc")
- @make -C build-root PLATFORM=vpp TAG=vpp wipe-all install-packages
+ @make -C build-root PLATFORM=vpp TAG=vpp wipe-all install-packages \
+ vpp_uses_dpdk_cryptodev_sw=yes
ifeq ($(OS_ID)-$(OS_VERSION_ID),ubuntu-16.04)
$(call banner,"Installing dependencies")
@sudo -E apt-get update
@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
+ @make -C build-root CC=clang PLATFORM=vpp TAG=vpp_clang \
+ wipe-all install-packages vpp_uses_dpdk_cryptodev_sw=yes
endif
$(call banner,"Building sample-plugin")
@make -C build-root PLATFORM=vpp TAG=vpp sample-plugin-install
$(call banner,"Building $(PKG) packages")
- @make pkg-$(PKG)
+ @make pkg-$(PKG) vpp_uses_dpdk_cryptodev_sw=yes
ifeq ($(OS_ID)-$(OS_VERSION_ID),ubuntu-16.04)
@make test
endif
-