net/vhost: add to meson build

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
This commit is contained in:
Bruce Richardson 2018-06-08 22:20:48 +01:00 committed by Ferruh Yigit
parent 508cfe6be9
commit 5936aa3a39
2 changed files with 10 additions and 1 deletions

View File

@ -24,7 +24,9 @@ drivers = ['af_packet',
'sfc',
'softnic',
'szedata2',
'thunderx', 'virtio']
'thunderx',
'vhost',
'virtio']
std_deps = ['ethdev', 'kvargs'] # 'ethdev' also pulls in mbuf, net, eal etc
std_deps += ['bus_pci'] # very many PMDs depend on PCI, so make std
std_deps += ['bus_vdev'] # same with vdev bus

View File

@ -0,0 +1,7 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2018 Intel Corporation
version = 2
sources = files('rte_eth_vhost.c')
install_headers('rte_eth_vhost.h')
deps += 'vhost'