vhost/crypto: fix build without cryptodev
authorFan Zhang <roy.fan.zhang@intel.com>
Mon, 16 Apr 2018 14:08:58 +0000 (15:08 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 17 Apr 2018 10:36:40 +0000 (12:36 +0200)
commitb4ca812986131b5ca90e558b2066f6e904aa08ea
tree7216651e6ea9468ed26d32c09f94d48dd7422e13
parent079527f069e61a0ec79b7aaa7be9fb09947c6125
vhost/crypto: fix build without cryptodev

Vhost-Crypto shall not be compiled if rte_cryptodev is disabled.
This patch fix this by adding checking to Makefile.

Fixes: d090c7f86a76 ("vhost/crypto: update makefile")

Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
lib/librte_vhost/Makefile