]> git.proxmox.com Git - ceph.git/blame - ceph/src/spdk/dpdk/examples/vhost_scsi/meson.build
import 15.2.0 Octopus source
[ceph.git] / ceph / src / spdk / dpdk / examples / vhost_scsi / meson.build
CommitLineData
11fdf7f2
TL
1# SPDX-License-Identifier: BSD-3-Clause
2# Copyright(c) 2017 Intel Corporation
3
4# meson file, for building this example as part of a main DPDK build.
5#
6# To build this example as a standalone application with an already-installed
7# DPDK instance, use 'make'
8
9f95a23c 9if not is_linux
11fdf7f2
TL
10 build = false
11endif
9f95a23c
TL
12
13if not cc.has_header('linux/virtio_scsi.h')
14 build = false
15endif
16
11fdf7f2 17deps += 'vhost'
9f95a23c 18cflags += ['-D_FILE_OFFSET_BITS=64']
11fdf7f2
TL
19sources = files(
20 'scsi.c', 'vhost_scsi.c'
21)