X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fnetvsc%2Fmeson.build;h=f74b941f65d9a31896ac39b53371dfa0e036a631;hb=d61138d4f0e2927cc1d0fef6d810fa7f5d1161a1;hp=a717cdd48365704507f8abbb32f0603a38126421;hpb=c49825f8956bffcd23502a4dd98b3a32d66bb975;p=dpdk.git diff --git a/drivers/net/netvsc/meson.build b/drivers/net/netvsc/meson.build index a717cdd483..f74b941f65 100644 --- a/drivers/net/netvsc/meson.build +++ b/drivers/net/netvsc/meson.build @@ -1,10 +1,20 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2018 Microsoft Corporation -build = dpdk_conf.has('RTE_LIBRTE_VMBUS_BUS') -version = 2 -sources = files('hn_ethdev.c', 'hn_rxtx.c', 'hn_rndis.c', 'hn_nvs.c') +if is_windows + build = false + reason = 'not supported on Windows' + subdir_done() +endif -deps += ['bus_vmbus' ] +build = dpdk_conf.has('RTE_BUS_VMBUS') +reason = 'missing dependency, DPDK VMBus driver' +sources = files( + 'hn_ethdev.c', + 'hn_nvs.c', + 'hn_rndis.c', + 'hn_rxtx.c', + 'hn_vf.c', +) -allow_experimental_apis = true +deps += ['bus_vmbus' ]