[dpdk-dev] [PATCH v2 15/15] net/vhost: add to meson build

Bruce Richardson bruce.richardson at intel.com
Fri Jun 8 23:20:48 CEST 2018


CC: Tetsuya Mukawa <mtetsuyah at gmail.com>
CC: Maxime Coquelin <maxime.coquelin at redhat.com>
Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
---
 drivers/net/meson.build       | 2 +-
 drivers/net/vhost/meson.build | 7 +++++++
 2 files changed, 8 insertions(+), 1 deletion(-)
 create mode 100644 drivers/net/vhost/meson.build

diff --git a/drivers/net/meson.build b/drivers/net/meson.build
index c7e18a696..aef5ef6c0 100644
--- a/drivers/net/meson.build
+++ b/drivers/net/meson.build
@@ -9,7 +9,7 @@ drivers = ['af_packet', 'ark', 'avp',
 	'kni', 'liquidio', 'mvpp2', 'nfp', 'null',
 	'octeontx', 'pcap', 'ring',
 	'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
diff --git a/drivers/net/vhost/meson.build b/drivers/net/vhost/meson.build
new file mode 100644
index 000000000..a8f77e1ab
--- /dev/null
+++ b/drivers/net/vhost/meson.build
@@ -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'
-- 
2.17.1



More information about the dev mailing list