2019-06-25 11:12:58 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
|
|
|
|
allow_experimental_apis = true
|
|
|
|
|
|
|
|
install_headers('rte_bus_vmbus.h','rte_vmbus_reg.h')
|
|
|
|
|
|
|
|
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
|
2020-06-18 16:55:50 +00:00
|
|
|
reason = 'only supported on linux'
|
2019-06-25 11:12:58 +00:00
|
|
|
endif
|