net/ice: fix build when Rx descriptor size is 16
[dpdk.git] / drivers / net / fm10k / meson.build
index 8f6e423..69566ad 100644 (file)
@@ -1,18 +1,21 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2017 Intel Corporation
 
-allow_experimental_apis = true
+if is_windows
+    build = false
+    reason = 'not supported on Windows'
+    subdir_done()
+endif
 
 subdir('base')
 objs = [base_objs]
 
 sources = files(
-       'fm10k_ethdev.c',
-       'fm10k_rxtx.c',
+        'fm10k_ethdev.c',
+        'fm10k_rxtx.c',
 )
 if arch_subdir == 'x86'
-       dpdk_conf.set('RTE_LIBRTE_FM10K_INC_VECTOR', 1)
-       sources += files('fm10k_rxtx_vec.c')
+    sources += files('fm10k_rxtx_vec.c')
 endif
 
 includes += include_directories('base')