summaryrefslogtreecommitdiffstats
path: root/src/spdk/dpdk/drivers/net/vhost/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/spdk/dpdk/drivers/net/vhost/meson.build')
-rw-r--r--src/spdk/dpdk/drivers/net/vhost/meson.build8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/spdk/dpdk/drivers/net/vhost/meson.build b/src/spdk/dpdk/drivers/net/vhost/meson.build
new file mode 100644
index 000000000..d7930862a
--- /dev/null
+++ b/src/spdk/dpdk/drivers/net/vhost/meson.build
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2018 Intel Corporation
+
+build = dpdk_conf.has('RTE_LIBRTE_VHOST')
+reason = 'missing dependency, DPDK vhost library'
+sources = files('rte_eth_vhost.c')
+install_headers('rte_eth_vhost.h')
+deps += 'vhost'