From: Akhil Goyal Date: Thu, 16 Apr 2020 11:25:17 +0000 (+0530) Subject: ipsec: fix build dependency on hash lib X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=53c83e42cd89ac41f5d5870838b034b53887a3cb;p=dpdk.git ipsec: fix build dependency on hash lib rte_ipsec has a dependency 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 --- diff --git a/lib/Makefile b/lib/Makefile index 46b91ae1a4..2cbb096f12 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