From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1102FA0588; Thu, 16 Apr 2020 13:45:40 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E03FE1D8D6; Thu, 16 Apr 2020 13:45:39 +0200 (CEST) Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by dpdk.org (Postfix) with ESMTP id DB0021D64D for ; Thu, 16 Apr 2020 13:45:38 +0200 (CEST) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 76ACF1A0D2D; Thu, 16 Apr 2020 13:45:38 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id B2BFB1A0D41; Thu, 16 Apr 2020 13:45:35 +0200 (CEST) Received: from GDB1.ap.freescale.net (gdb1.ap.freescale.net [10.232.132.179]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id CDCC8402A8; Thu, 16 Apr 2020 19:45:31 +0800 (SGT) From: Akhil Goyal To: thomas@monjalon.net, dev@dpdk.org Cc: david.marchand@redhat.com, ferruh.yigit@intel.com, rasland@mellanox.com, Akhil Goyal Date: Thu, 16 Apr 2020 16:55:17 +0530 Message-Id: <20200416112517.3386-1-akhil.goyal@nxp.com> X-Mailer: git-send-email 2.17.1 X-Virus-Scanned: ClamAV using ClamSMTP Subject: [dpdk-dev] [PATCH] ipsec: fix build dependency on hash lib X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" rte_ipsec has a dependancy on rte_hash So we need the librte_hash to be compiled before librte_ipsec. Add the DEPDIRs to make sure this. Fixes: 3feb23609cae ("ipsec: add SAD create/destroy implementation") Cc:stable@dpdk.org Reported-by: Raslan Darawsheh Suggested-by: Ferruh Yigit Signed-off-by: Akhil Goyal --- lib/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Makefile b/lib/Makefile index 46b91ae1a..2cbb096f1 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -113,7 +113,7 @@ DIRS-$(CONFIG_RTE_LIBRTE_BPF) += librte_bpf DEPDIRS-librte_bpf := librte_eal librte_mempool librte_mbuf librte_ethdev DIRS-$(CONFIG_RTE_LIBRTE_IPSEC) += librte_ipsec DEPDIRS-librte_ipsec := librte_eal librte_mbuf librte_cryptodev librte_security \ - librte_net + librte_net librte_hash DIRS-$(CONFIG_RTE_LIBRTE_TELEMETRY) += librte_telemetry DEPDIRS-librte_telemetry := librte_eal librte_metrics librte_ethdev DIRS-$(CONFIG_RTE_LIBRTE_RCU) += librte_rcu -- 2.17.1