2019-06-25 11:12:58 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(c) 2018 Cavium, Inc
|
2022-09-06 04:00:10 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
if not is_linux or not dpdk_conf.get('RTE_ARCH_64')
|
|
|
|
build = false
|
|
|
|
reason = 'only supported on 64-bit Linux'
|
|
|
|
subdir_done()
|
|
|
|
endif
|
|
|
|
|
|
|
|
if is_windows
|
|
|
|
build = false
|
|
|
|
reason = 'not supported on Windows'
|
|
|
|
subdir_done()
|
2019-06-25 11:12:58 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
deps += ['bus_pci']
|
2022-09-06 04:00:10 +00:00
|
|
|
deps += ['bus_vdev']
|
2019-06-25 11:12:58 +00:00
|
|
|
deps += ['common_cpt']
|
2022-09-06 04:00:10 +00:00
|
|
|
deps += ['eventdev']
|
2019-06-25 11:12:58 +00:00
|
|
|
|
2022-09-06 04:00:10 +00:00
|
|
|
sources = files(
|
|
|
|
'otx_cryptodev.c',
|
|
|
|
'otx_cryptodev_capabilities.c',
|
|
|
|
'otx_cryptodev_hw_access.c',
|
|
|
|
'otx_cryptodev_mbox.c',
|
|
|
|
'otx_cryptodev_ops.c',
|
|
|
|
)
|
2019-06-25 11:12:58 +00:00
|
|
|
|
|
|
|
includes += include_directories('../../common/cpt')
|
2022-09-06 04:00:10 +00:00
|
|
|
includes += include_directories('../../common/octeontx')
|
|
|
|
includes += include_directories('../../event/octeontx')
|
|
|
|
includes += include_directories('../../mempool/octeontx')
|
|
|
|
includes += include_directories('../../net/octeontx')
|