drivers/event: invoke probing finish function
[dpdk.git] / drivers / event / octeontx / meson.build
index 73118a4..eb17e05 100644 (file)
@@ -1,18 +1,21 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2017 Cavium, Inc
 
-sources = files('ssovf_worker.c',
-               'ssovf_evdev.c',
-               'ssovf_evdev_selftest.c',
-               'ssovf_probe.c',
-               'timvf_worker.c',
-               'timvf_evdev.c',
-               'timvf_probe.c'
-)
+if not is_linux or not dpdk_conf.get('RTE_ARCH_64')
+    build = false
+    reason = 'only supported on 64-bit Linux'
+    subdir_done()
+endif
 
-deps += ['common_octeontx', 'mempool_octeontx', 'bus_vdev', 'pmd_octeontx']
+sources = files(
+        'ssovf_worker.c',
+        'ssovf_evdev.c',
+        'ssovf_evdev_selftest.c',
+        'ssovf_probe.c',
+        'timvf_worker.c',
+        'timvf_evdev.c',
+        'timvf_probe.c',
+)
 
-# for clang 32-bit compiles we need libatomic for 64-bit atomic ops
-if cc.get_id() == 'clang' and dpdk_conf.get('RTE_ARCH_64') == false
-       ext_deps += cc.find_library('atomic')
-endif
+deps += ['common_octeontx', 'mempool_octeontx', 'bus_vdev', 'net_octeontx']
+deps += ['crypto_octeontx']