env_dpdk: link rte_vhost always when it's requested
We used to link with rte_vhost only if it was present as a file, which doesn't make much sense - we should try to link with it when we think it's needed. Change-Id: I9609972d419fdf6e8d3b4644eff3f5dba83abe42 Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1325 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
8920d75c42
commit
87e7eed129
@ -100,8 +100,8 @@ ifneq (, $(wildcard $(DPDK_ABS_DIR)/lib/librte_kvargs.*))
|
||||
DPDK_LIB_LIST += rte_kvargs
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_VHOST),y)
|
||||
ifneq ($(CONFIG_VHOST_INTERNAL_LIB),y)
|
||||
ifneq (, $(wildcard $(DPDK_ABS_DIR)/lib/librte_vhost.*))
|
||||
DPDK_LIB_LIST += rte_vhost rte_net rte_hash
|
||||
ifneq ($(DPDK_FRAMEWORK),y)
|
||||
DPDK_LIB_LIST += rte_cryptodev
|
||||
|
Loading…
Reference in New Issue
Block a user