dpdk: build sw cryptodev support with make verify

Change-Id: Ica95b5d3d44563c93c89b2a3233171c3aa1f048d
Signed-off-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
This commit is contained in:
Sergio Gonzalez Monroy
2017-03-22 15:22:14 +00:00
committed by Damjan Marion
parent d5a65db98d
commit 0e2e10b77d
2 changed files with 16 additions and 9 deletions

View File

@@ -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