From: Igor Shaula Date: Thu, 16 Nov 2017 08:59:37 +0000 (+0100) Subject: fix prox crypto build X-Git-Tag: opnfv-5.1.RC1~5 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F53%2F47353%2F3;p=samplevnf.git fix prox crypto build Change-Id: I4ea54763871c18b1bd6cec9dbb926f18f0f5833f Signed-off-by: Igor Shaula --- diff --git a/VNFs/DPPD-PROX/Makefile b/VNFs/DPPD-PROX/Makefile index 60cd92b7..906fc606 100644 --- a/VNFs/DPPD-PROX/Makefile +++ b/VNFs/DPPD-PROX/Makefile @@ -173,7 +173,12 @@ SRCS-y += handle_genl4.c SRCS-y += handle_ipv6_tunnel.c SRCS-y += handle_read.c ifeq ($(call rte_ver_LT,17,8,0,0),y) -SRCS-$(call rte_ver_GE,17,2,0,16) += handle_esp.c +ifeq ($(call rte_ver_GE,17,2,0,16),y) +SRCS-$(CONFIG_RTE_LIBRTE_PMD_AESNI_MB) += handle_esp.c +ifneq ($(CONFIG_RTE_LIBRTE_PMD_AESNI_MB),y) +$(warning "Building w/o IPSEC support") +endif +endif endif SRCS-y += handle_cgnat.c SRCS-y += handle_nat.c