From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hemant Agrawal Subject: Re: [PATCH v5 08/11] mk: add rte security into build system Date: Wed, 25 Oct 2017 10:34:43 +0530 Message-ID: <543df3b5-5356-7cb0-0763-dd7f34b2b58c@nxp.com> References: <20171014221734.15511-1-akhil.goyal@nxp.com> <20171024141545.30837-1-akhil.goyal@nxp.com> <20171024141545.30837-9-akhil.goyal@nxp.com> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Cc: , , , , , , , , , , , To: Akhil Goyal , Return-path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0063.outbound.protection.outlook.com [104.47.42.63]) by dpdk.org (Postfix) with ESMTP id C87B21B83E for ; Wed, 25 Oct 2017 07:04:51 +0200 (CEST) In-Reply-To: <20171024141545.30837-9-akhil.goyal@nxp.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" On 10/24/2017 7:45 PM, Akhil Goyal wrote: > Signed-off-by: Akhil Goyal > Signed-off-by: Radu Nicolau > --- > config/common_base | 5 +++++ > lib/Makefile | 5 +++++ > mk/rte.app.mk | 1 + > 3 files changed, 11 insertions(+) > > diff --git a/config/common_base b/config/common_base > index d9471e8..f5d085d 100644 > --- a/config/common_base > +++ b/config/common_base > @@ -548,6 +548,11 @@ CONFIG_RTE_LIBRTE_PMD_MRVL_CRYPTO=n > CONFIG_RTE_LIBRTE_PMD_MRVL_CRYPTO_DEBUG=n > > # > +# Compile generic security library > +# > +CONFIG_RTE_LIBRTE_SECURITY=y > + > +# > # Compile generic event device library > # > CONFIG_RTE_LIBRTE_EVENTDEV=y > diff --git a/lib/Makefile b/lib/Makefile > index 527b95b..645094c 100644 > --- a/lib/Makefile > +++ b/lib/Makefile > @@ -50,6 +50,11 @@ DEPDIRS-librte_ether += librte_mbuf > DIRS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += librte_cryptodev > DEPDIRS-librte_cryptodev := librte_eal librte_mempool librte_ring librte_mbuf > DEPDIRS-librte_cryptodev += librte_kvargs > +DEPDIRS-librte_cryptodev += librte_ether > +DIRS-$(CONFIG_RTE_LIBRTE_SECURITY) += librte_security > +DEPDIRS-librte_security := librte_eal librte_mempool librte_ring librte_mbuf > +DEPDIRS-librte_security += librte_ether > +DEPDIRS-librte_security += librte_cryptodev > DIRS-$(CONFIG_RTE_LIBRTE_EVENTDEV) += librte_eventdev > DEPDIRS-librte_eventdev := librte_eal librte_ring librte_ether librte_hash > DIRS-$(CONFIG_RTE_LIBRTE_VHOST) += librte_vhost > diff --git a/mk/rte.app.mk b/mk/rte.app.mk > index 8192b98..d975fad 100644 > --- a/mk/rte.app.mk > +++ b/mk/rte.app.mk > @@ -93,6 +93,7 @@ _LDLIBS-$(CONFIG_RTE_LIBRTE_MBUF) += -lrte_mbuf > _LDLIBS-$(CONFIG_RTE_LIBRTE_NET) += -lrte_net > _LDLIBS-$(CONFIG_RTE_LIBRTE_ETHER) += -lrte_ethdev > _LDLIBS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += -lrte_cryptodev > +_LDLIBS-$(CONFIG_RTE_LIBRTE_SECURITY) += -lrte_security > _LDLIBS-$(CONFIG_RTE_LIBRTE_EVENTDEV) += -lrte_eventdev > _LDLIBS-$(CONFIG_RTE_LIBRTE_MEMPOOL) += -lrte_mempool > _LDLIBS-$(CONFIG_RTE_DRIVER_MEMPOOL_RING) += -lrte_mempool_ring > Acked-by: Hemant Agrawal