diff mbox series

[v2,15/15] net/vhost: add to meson build

Message ID 20180608212048.67261-16-bruce.richardson@intel.com (mailing list archive)
State Accepted, archived
Delegated to: Ferruh Yigit
Headers show
Series add meson support for more net drivers | expand

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK

Commit Message

Bruce Richardson June 8, 2018, 9:20 p.m. UTC
CC: Tetsuya Mukawa <mtetsuyah@gmail.com>
CC: Maxime Coquelin <maxime.coquelin@redhat.com>
Signed-off-by: Bruce Richardson <bruce.richardson@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 mbox series

Patch

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'