[v5,2/3] common/octeontx: enable build only on 64-bit Linux
Checks
Commit Message
From: Pavan Nikhilesh <pbhagavatula@marvell.com>
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>
---
drivers/common/octeontx/meson.build | 4 ++--
drivers/compress/octeontx/meson.build | 6 ++++++
drivers/crypto/octeontx/meson.build | 7 +++++++
drivers/event/octeontx/meson.build | 6 ++++++
drivers/mempool/octeontx/meson.build | 5 +++--
drivers/net/octeontx/meson.build | 4 ++--
6 files changed, 26 insertions(+), 6 deletions(-)
--
2.17.1
@@ -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
@@ -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']
@@ -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']
@@ -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',
@@ -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(
@@ -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