2018-07-13 10:06:42 -07:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
|
2018-10-03 00:25:06 +02:00
|
|
|
version = 2
|
|
|
|
|
2018-07-13 10:06:42 -07:00
|
|
|
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')
|
|
|
|
|
2019-04-09 11:55:36 +01:00
|
|
|
if is_linux
|
2018-07-13 10:06:42 -07:00
|
|
|
sources += files('linux/vmbus_bus.c',
|
|
|
|
'linux/vmbus_uio.c')
|
|
|
|
includes += include_directories('linux')
|
|
|
|
else
|
|
|
|
build = false
|
2019-06-05 21:22:41 +01:00
|
|
|
reason = 'only supported on linux'
|
2018-07-13 10:06:42 -07:00
|
|
|
endif
|