From 201e7482674551aeee27d0ff28e7bbd3fbfbbcf2 Mon Sep 17 00:00:00 2001 From: Jin Yu Date: Wed, 30 Oct 2019 17:40:55 +0800 Subject: [PATCH] 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 --- lib/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1