build: disable experimental API check internally
[dpdk.git] / drivers / crypto / octeontx / meson.build
index 4c5a40c..cf031b0 100644 (file)
@@ -1,16 +1,18 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2018 Cavium, Inc
-if host_machine.system() != 'linux'
+if not is_linux
        build = false
+       reason = 'only supported on linux'
 endif
 
 deps += ['bus_pci']
+deps += ['common_cpt']
 name = 'octeontx_crypto'
 
 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')