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