Thomas Monjalon 43314d97e2 drivers: disable OCTEON TX2 in 32-bit build
The drivers for OCTEON TX2 are not supported in 32-bit mode.

Suggested-by: Jerin Jacob <jerinj@marvell.com>
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Jerin Jacob <jerinj@marvell.com>
2020-11-12 16:39:10 +01:00

29 lines
719 B
Meson

# SPDX-License-Identifier: BSD-3-Clause
# Copyright(C) 2020 Marvell International Ltd.
#
if not is_linux or not dpdk_conf.get('RTE_ARCH_64')
build = false
reason = 'only supported on 64-bit Linux'
subdir_done()
endif
lib = cc.find_library('librxp_compiler', required: false)
if lib.found()
ext_deps += lib
ext_deps += cc.find_library('libstdc++', required: true)
includes += include_directories(inc_dir)
cflags += ['-DREE_COMPILER_SDK']
endif
sources = files('otx2_regexdev.c',
'otx2_regexdev_hw_access.c',
'otx2_regexdev_mbox.c',
'otx2_regexdev_compiler.c'
)
fmt_name = 'octeontx2_regex'
deps += ['bus_pci', 'common_octeontx2', 'regexdev']
includes += include_directories('../../common/octeontx2')