ipsec: fix build dependency on hash lib
PATCH 1/1 ipsec: fix build dependency on hash lib
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")
Reported-by Raslan Darawsheh <[email protected]>
Suggested-by Ferruh Yigit <[email protected]>
Signed-off-by Akhil Goyal <[email protected]>
--- lib/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/Makefile +1 -1
@@ -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
Signature · 1 line
2.17.1
Thomas Monjalon
Applied16/04/2020 13:25, Akhil Goyal:
Quoted 1 line
rte_ipsechas a dependancy onrte_hash
dependency
Quoted 5 lines
So we need the
librte_hashto be compiled beforelibrte_ipsec. Add the DEPDIRs to make sure this.Fixes 3feb23609cae ("ipsec: add SAD create/destroy implementation")
missing a space after :
Quoted 3 lines
Reported-by Raslan Darawsheh <[email protected]>Suggested-by Ferruh Yigit <[email protected]>Signed-off-by Akhil Goyal <[email protected]>
Applied, thanks