summaryrefslogtreecommitdiffstats
path: root/src/seastar/dpdk/examples/vhost_scsi/meson.build
blob: 2972e4d6137a948a49412a67176f0bbc7a4f2059 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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_scsi.h')
	build = false
endif

deps += 'vhost'
cflags += ['-D_FILE_OFFSET_BITS=64']
sources = files(
	'scsi.c', 'vhost_scsi.c'
)