f-stack/dpdk/drivers/bus/vmbus/meson.build

25 lines
464 B
Meson
Raw Normal View History

2019-06-25 11:12:58 +00:00
# SPDX-License-Identifier: BSD-3-Clause
2021-02-05 08:48:47 +00:00
if is_windows
build = false
reason = 'not supported on Windows'
subdir_done()
endif
2019-06-25 11:12:58 +00:00
2021-02-05 08:48:47 +00:00
headers = files('rte_bus_vmbus.h','rte_vmbus_reg.h')
2019-06-25 11:12:58 +00:00
sources = files('vmbus_common.c',
'vmbus_channel.c',
'vmbus_bufring.c',
'vmbus_common_uio.c')
2020-06-18 16:55:50 +00:00
if is_linux
2019-06-25 11:12:58 +00:00
sources += files('linux/vmbus_bus.c',
'linux/vmbus_uio.c')
includes += include_directories('linux')
else
build = false
2021-02-05 08:48:47 +00:00
reason = 'only supported on Linux'
2019-06-25 11:12:58 +00:00
endif