From: Radu Nicolau Date: Thu, 26 Oct 2017 14:15:14 +0000 (+0100) Subject: crypto/dpaa2_sec: forbid build without security lib X-Git-Tag: spdx-start~1081 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=6115b677bca783dfc4772f5f101a96dde689ed43;p=dpdk.git crypto/dpaa2_sec: forbid build without security lib Build fails when rte_security is disabled; make rte_security mandatory Fixes: 0a23d4b6f4c2 ("crypto/dpaa2_sec: support protocol offload IPsec") Signed-off-by: Radu Nicolau --- diff --git a/drivers/crypto/dpaa2_sec/Makefile b/drivers/crypto/dpaa2_sec/Makefile index 3f0eadeed8..a08f27176a 100644 --- a/drivers/crypto/dpaa2_sec/Makefile +++ b/drivers/crypto/dpaa2_sec/Makefile @@ -31,6 +31,12 @@ include $(RTE_SDK)/mk/rte.vars.mk +ifneq ($(MAKECMDGOALS),clean) +ifneq ($(CONFIG_RTE_LIBRTE_SECURITY),y) +$(error "RTE_LIBRTE_SECURITY is required to build RTE_LIBRTE_PMD_DPAA2_SEC") +endif +endif + # # library name #