net/iavf: fix pointer of meta data
[dpdk.git] / drivers / net / ipn3ke / meson.build
index b511600..4bf7398 100644 (file)
@@ -1,6 +1,12 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2019 Intel Corporation
 
+if is_windows
+    build = false
+    reason = 'not supported on Windows'
+    subdir_done()
+endif
+
 #
 # Add the experimenatal APIs called from this PMD
 #  rte_eth_switch_domain_alloc()
@@ -8,7 +14,19 @@
 #  rte_eth_dev_destroy()
 #  rte_eth_switch_domain_free()
 #
-allow_experimental_apis = true
 
-sources += files('ipn3ke_ethdev.c')
-deps += ['bus_ifpga', 'sched']
+if has_libfdt == 0
+    build = false
+    reason = 'missing dependency, "libfdt"'
+    subdir_done()
+endif
+
+includes += include_directories('../../raw/ifpga')
+
+sources += files(
+        'ipn3ke_ethdev.c',
+        'ipn3ke_flow.c',
+        'ipn3ke_representor.c',
+        'ipn3ke_tm.c',
+)
+deps += ['bus_ifpga', 'ethdev', 'sched']