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