net/vhost: add to meson build
authorBruce Richardson <bruce.richardson@intel.com>
Fri, 8 Jun 2018 21:20:48 +0000 (22:20 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 14 Jun 2018 17:27:50 +0000 (19:27 +0200)
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/meson.build
drivers/net/vhost/meson.build [new file with mode: 0644]

index 5f02852..d19b195 100644 (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
diff --git a/drivers/net/vhost/meson.build b/drivers/net/vhost/meson.build
new file mode 100644 (file)
index 0000000..a8f77e1
--- /dev/null
@@ -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'