f-stack/dpdk/examples/vhost_blk/meson.build

26 lines
539 B
Meson
Raw Normal View History

2019-06-25 11:12:58 +00:00
# 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'
2020-06-18 16:55:50 +00:00
if not is_linux
2022-09-06 04:00:10 +00:00
build = false
subdir_done()
2019-06-25 11:12:58 +00:00
endif
2020-06-18 16:55:50 +00:00
if not cc.has_header('linux/virtio_blk.h')
2022-09-06 04:00:10 +00:00
build = false
subdir_done()
2020-06-18 16:55:50 +00:00
endif
2019-06-25 11:12:58 +00:00
deps += 'vhost'
2020-06-18 16:55:50 +00:00
allow_experimental_apis = true
2019-06-25 11:12:58 +00:00
sources = files(
2022-09-06 04:00:10 +00:00
'blk.c',
'vhost_blk.c',
'vhost_blk_compat.c',
2019-06-25 11:12:58 +00:00
)