fix prox crypto build 53/47353/3
authorIgor Shaula <igor.shaula@intel.com>
Thu, 16 Nov 2017 08:59:37 +0000 (09:59 +0100)
committerDeepak S <deepak.s@linux.intel.com>
Tue, 21 Nov 2017 17:45:11 +0000 (17:45 +0000)
Change-Id: I4ea54763871c18b1bd6cec9dbb926f18f0f5833f
Signed-off-by: Igor Shaula <igor.shaula@intel.com>
VNFs/DPPD-PROX/Makefile

index 60cd92b..906fc60 100644 (file)
@@ -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