diff options
Diffstat (limited to 'src/spdk/dpdk/examples/vhost_blk/meson.build')
-rw-r--r-- | src/spdk/dpdk/examples/vhost_blk/meson.build | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/spdk/dpdk/examples/vhost_blk/meson.build b/src/spdk/dpdk/examples/vhost_blk/meson.build new file mode 100644 index 000000000..857367192 --- /dev/null +++ b/src/spdk/dpdk/examples/vhost_blk/meson.build @@ -0,0 +1,21 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright(c) 2017 Intel Corporation + +# meson file, for building this example as part of a main DPDK build. +# +# To build this example as a standalone application with an already-installed +# DPDK instance, use 'make' + +if not is_linux + build = false +endif + +if not cc.has_header('linux/virtio_blk.h') + build = false +endif + +deps += 'vhost' +allow_experimental_apis = true +sources = files( + 'blk.c', 'vhost_blk.c', 'vhost_blk_compat.c' +) |