# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2018 Microsoft Corporation
-build = dpdk_conf.has('RTE_LIBRTE_VMBUS_BUS')
-reason = 'missing dependency, DPDK VMBus driver'
-version = 2
-sources = files('hn_ethdev.c', 'hn_rxtx.c', 'hn_rndis.c', 'hn_nvs.c', 'hn_vf.c')
+if is_windows
+ build = false
+ reason = 'not supported on Windows'
+ subdir_done()
+endif
-deps += ['bus_vmbus' ]
+deps += 'bus_vmbus'
+sources = files(
+ 'hn_ethdev.c',
+ 'hn_nvs.c',
+ 'hn_rndis.c',
+ 'hn_rxtx.c',
+ 'hn_vf.c',
+)
-allow_experimental_apis = true