net/mlx5: fix build with clang 14
[dpdk.git] / drivers / net / netvsc / meson.build
index c190124..bb6225d 100644 (file)
@@ -2,13 +2,16 @@
 # Copyright(c) 2018 Microsoft Corporation
 
 if is_windows
-       build = false
-       reason = 'not supported on Windows'
-       subdir_done()
+    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')
-
-deps += ['bus_vmbus' ]
+deps += 'bus_vmbus'
+sources = files(
+        'hn_ethdev.c',
+        'hn_nvs.c',
+        'hn_rndis.c',
+        'hn_rxtx.c',
+        'hn_vf.c',
+)