summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Shaula <igor.shaula@intel.com>2017-11-16 09:59:37 +0100
committerDeepak S <deepak.s@linux.intel.com>2017-11-21 17:45:11 +0000
commit1f5723ab40d48e48ccbad90a26ebfc3ff5239e5d (patch)
tree90e5511b195dd1ad6414492c584e1bcb3b07cd74
parent0bb9030df98a4214cd0ea2bb9d7dabd3d9635ad2 (diff)
fix prox crypto build
Change-Id: I4ea54763871c18b1bd6cec9dbb926f18f0f5833f Signed-off-by: Igor Shaula <igor.shaula@intel.com>
-rw-r--r--VNFs/DPPD-PROX/Makefile7
1 files changed, 6 insertions, 1 deletions
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