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

27 lines
523 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
2022-09-06 04:00:10 +00:00
build = false
reason = 'not supported on Windows'
subdir_done()
2021-02-05 08:48:47 +00:00
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
2022-09-06 04:00:10 +00:00
sources = files(
'vmbus_bufring.c',
'vmbus_channel.c',
'vmbus_common.c',
'vmbus_common_uio.c',
)
2019-06-25 11:12:58 +00:00
2020-06-18 16:55:50 +00:00
if is_linux
2022-09-06 04:00:10 +00:00
sources += files('linux/vmbus_bus.c',
'linux/vmbus_uio.c')
includes += include_directories('linux')
2019-06-25 11:12:58 +00:00
else
2022-09-06 04:00:10 +00:00
build = false
reason = 'only supported on Linux'
2019-06-25 11:12:58 +00:00
endif