From mboxrd@z Thu Jan 1 00:00:00 1970 From: Radu Nicolau Subject: [PATCH 2/3] net/ixgbe: fix build issue Date: Thu, 26 Oct 2017 11:22:44 +0100 Message-ID: <1509013365-13819-3-git-send-email-radu.nicolau@intel.com> References: <1509013365-13819-1-git-send-email-radu.nicolau@intel.com> Cc: david.marchand@6wind.com, declan.doherty@intel.com, pablo.de.lara.guarch@intel.com, hemant.agrawal@nxp.com, borisp@mellanox.com, aviadye@mellanox.com, thomas@monjalon.net, sandeep.malik@nxp.com, jerin.jacob@caviumnetworks.com, john.mcnamara@intel.com, konstantin.ananyev@intel.com, shahafs@mellanox.com, olivier.matz@6wind.com, akhil.goyal@nxp.com, Radu Nicolau To: dev@dpdk.org Return-path: Received: from mga02.intel.com (unknown [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 619A01BAB1 for ; Thu, 26 Oct 2017 12:27:03 +0200 (CEST) In-Reply-To: <1509013365-13819-1-git-send-email-radu.nicolau@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Build fails when rte_security is disabled; make rte_security mandatory Fixes: 9a0752f498d2 ("net/ixgbe: enable inline IPsec") Signed-off-by: Radu Nicolau --- 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