vhost: fix build dependency on hash lib
authorJin Yu <jin.yu@intel.com>
Wed, 30 Oct 2019 09:40:55 +0000 (17:40 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Nov 2019 22:15:05 +0000 (23:15 +0100)
commit201e7482674551aeee27d0ff28e7bbd3fbfbbcf2
treeccfaab2a11814a93d231f14c5f4aaada8e9a572e
parent3939255eeda47d9f70d5d54729ef94a27ae8b803
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 <jin.yu@intel.com>
Reviewed-by: Tiwei Bie <tiwei.bie@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
lib/Makefile