crypto/cnxk: add device control operations
[dpdk.git] / drivers / crypto / octeontx / meson.build
index eca1cf1..daef47a 100644 (file)
@@ -1,15 +1,19 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2018 Cavium, Inc
-if host_machine.system() != 'linux'
-       build = false
+if not is_linux
+    build = false
+    reason = 'only supported on Linux'
 endif
 
 deps += ['bus_pci']
-name = 'octeontx_crypto'
+deps += ['common_cpt']
 
-sources = files('otx_cryptodev.c',
-               'otx_cryptodev_hw_access.c',
-               'otx_cryptodev_ops.c')
+sources = files(
+        'otx_cryptodev.c',
+        'otx_cryptodev_capabilities.c',
+        'otx_cryptodev_hw_access.c',
+        'otx_cryptodev_mbox.c',
+        'otx_cryptodev_ops.c',
+)
 
-cflags += '-DCPT_MODEL=CRYPTO_OCTEONTX'
 includes += include_directories('../../common/cpt')