[3/7] net/octeontx: enable build only on 64bit Linux
Checks
Commit Message
From: Pavan Nikhilesh <pbhagavatula@marvell.com>
Due to Linux kernel dependency, only enable build for 64bit Linux.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
---
drivers/net/octeontx/meson.build | 4 ++--
drivers/net/octeontx2/meson.build | 10 ++--------
drivers/net/thunderx/meson.build | 4 ++--
3 files changed, 6 insertions(+), 12 deletions(-)
@@ -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
@@ -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
@@ -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