[dpdk-dev] [PATCH 2/3] net/ixgbe: fix build issue
Radu Nicolau
radu.nicolau at intel.com
Thu Oct 26 12:22:44 CEST 2017
Build fails when rte_security is disabled; make rte_security mandatory
Fixes: 9a0752f498d2 ("net/ixgbe: enable inline IPsec")
Signed-off-by: Radu Nicolau <radu.nicolau at intel.com>
---
drivers/net/ixgbe/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/drivers/net/ixgbe/Makefile b/drivers/net/ixgbe/Makefile
index f03c426..c879828 100644
--- a/drivers/net/ixgbe/Makefile
+++ b/drivers/net/ixgbe/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_IXGBE_PMD")
+endif
+endif
+
#
# library name
#
--
2.7.5
More information about the dev
mailing list