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

Since AARCH32 extension is not implemented on octeontx2 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:53 +05:30 committed by Ferruh Yigit
parent e1369718f5
commit ac6deebb58
4 changed files with 8 additions and 25 deletions

View File

@ -2,15 +2,9 @@
# Copyright(C) 2019 Marvell International Ltd.
#
if is_windows
if not is_linux or not dpdk_conf.get('RTE_ARCH_64')
build = false
reason = 'not supported on Windows'
subdir_done()
endif
if not dpdk_conf.get('RTE_ARCH_64')
build = false
reason = 'only supported on 64-bit'
reason = 'only supported on 64-bit Linux'
subdir_done()
endif

View File

@ -2,9 +2,9 @@
# Copyright(C) 2019 Marvell International Ltd.
#
if not dpdk_conf.get('RTE_ARCH_64')
if not is_linux or not dpdk_conf.get('RTE_ARCH_64')
build = false
reason = 'only supported on 64-bit'
reason = 'only supported on 64-bit Linux'
subdir_done()
endif

View File

@ -2,14 +2,9 @@
# Copyright(C) 2019 Marvell International Ltd.
#
if is_windows
if not is_linux or not dpdk_conf.get('RTE_ARCH_64')
build = false
reason = 'not supported on Windows'
subdir_done()
endif
if not dpdk_conf.get('RTE_ARCH_64')
build = false
reason = 'only supported on 64-bit'
reason = 'only supported on 64-bit Linux'
subdir_done()
endif

View File

@ -2,15 +2,9 @@
# Copyright(C) 2019 Marvell International Ltd.
#
if is_windows
if not is_linux or not dpdk_conf.get('RTE_ARCH_64')
build = false
reason = 'not supported on Windows'
subdir_done()
endif
if not dpdk_conf.get('RTE_ARCH_64')
build = false
reason = 'only supported on 64-bit'
reason = 'only supported on 64-bit Linux'
subdir_done()
endif