From: Jin Yu Date: Wed, 30 Oct 2019 09:40:55 +0000 (+0800) Subject: vhost: fix build dependency on hash lib X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=201e7482674551aeee27d0ff28e7bbd3fbfbbcf2;p=dpdk.git vhost: fix build dependency on hash lib Compile librte_vhost/vhost_crypto.c needs the rte_hash.h So we need the librte_hash to be compiled before vhost. Add the DEPDIRs to make sure this. Bugzilla ID: 356 Fixes: 939066d96563 ("vhost/crypto: add public function implementation") Cc: stable@dpdk.org Signed-off-by: Jin Yu Reviewed-by: Tiwei Bie Reviewed-by: Maxime Coquelin --- diff --git a/lib/Makefile b/lib/Makefile index 1ff00ba8c6..46b91ae1a4 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -46,7 +46,7 @@ DIRS-$(CONFIG_RTE_LIBRTE_RAWDEV) += librte_rawdev DEPDIRS-librte_rawdev := librte_eal librte_ethdev DIRS-$(CONFIG_RTE_LIBRTE_VHOST) += librte_vhost DEPDIRS-librte_vhost := librte_eal librte_mempool librte_mbuf librte_ethdev \ - librte_net + librte_net librte_hash librte_cryptodev DIRS-$(CONFIG_RTE_LIBRTE_HASH) += librte_hash DEPDIRS-librte_hash := librte_eal librte_ring DIRS-$(CONFIG_RTE_LIBRTE_EFD) += librte_efd