common/octeontx: enable build only on 64-bit Linux

Since AARCH32 extension is not implemented on octeontx family, only
enable build for 64bit.
Due to Linux kernel AF(Admin function) driver dependency, only enable
build for 64-bit Linux.

Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
This commit is contained in:
Pavan Nikhilesh 2021-10-15 01:26:52 +05:30 committed by Ferruh Yigit
parent 9ec67c12bd
commit e1369718f5
6 changed files with 26 additions and 6 deletions

View File

@ -2,9 +2,9 @@
# Copyright(c) 2018 Cavium, Inc
#
if is_windows
if not is_linux or not dpdk_conf.get('RTE_ARCH_64')
build = false
reason = 'not supported on Windows'
reason = 'only supported on 64-bit Linux'
subdir_done()
endif

View File

@ -1,6 +1,12 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2018 Cavium, Inc
if not is_linux or not dpdk_conf.get('RTE_ARCH_64')
build = false
reason = 'only supported on 64-bit Linux'
subdir_done()
endif
sources = files('otx_zip.c', 'otx_zip_pmd.c')
includes += include_directories('include')
deps += ['mempool_octeontx', 'bus_pci']

View File

@ -1,5 +1,12 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2018 Cavium, Inc
#
if not is_linux or not dpdk_conf.get('RTE_ARCH_64')
build = false
reason = 'only supported on 64-bit Linux'
subdir_done()
endif
deps += ['bus_pci']
deps += ['bus_vdev']

View File

@ -1,6 +1,12 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Cavium, Inc
if not is_linux or not dpdk_conf.get('RTE_ARCH_64')
build = false
reason = 'only supported on 64-bit Linux'
subdir_done()
endif
sources = files(
'ssovf_worker.c',
'ssovf_evdev.c',

View File

@ -1,9 +1,10 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Cavium, Inc
if is_windows
if not is_linux or not dpdk_conf.get('RTE_ARCH_64')
build = false
reason = 'not supported on Windows'
reason = 'only supported on 64-bit Linux'
subdir_done()
endif
sources = files(

View File

@ -1,9 +1,9 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Cavium, Inc
if is_windows
if not is_linux or not dpdk_conf.get('RTE_ARCH_64')
build = false
reason = 'not supported on Windows'
reason = 'only supported on 64-bit Linux'
subdir_done()
endif