1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright (C) 2019 Marvell International Ltd.
4 if host_machine.system() != 'linux'
10 deps += ['common_octeontx2']
13 name = 'octeontx2_crypto'
15 allow_experimental_apis = true
16 sources = files('otx2_cryptodev.c',
17 'otx2_cryptodev_capabilities.c',
18 'otx2_cryptodev_hw_access.c',
19 'otx2_cryptodev_mbox.c',
20 'otx2_cryptodev_ops.c')
23 # This integrated controller runs only on a arm64 machine, remove 32bit warnings
24 if not dpdk_conf.get('RTE_ARCH_64')
25 extra_flags += ['-Wno-int-to-pointer-cast', '-Wno-pointer-to-int-cast']
28 foreach flag: extra_flags
29 if cc.has_argument(flag)
34 includes += include_directories('../../common/cpt')
35 includes += include_directories('../../common/octeontx2')
36 includes += include_directories('../../crypto/octeontx2')
37 includes += include_directories('../../mempool/octeontx2')
38 includes += include_directories('../../net/octeontx2')