net/thunderx: enable build only on 64-bit Linux
authorPavan Nikhilesh <pbhagavatula@marvell.com>
Thu, 14 Oct 2021 19:56:51 +0000 (01:26 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 15 Oct 2021 17:13:13 +0000 (19:13 +0200)
Since AARCH32 extension is not implemented on thunderx family, only
enable build for 64bit.
Due to Linux kernel AF(Admin function) driver dependency, only enable
build for Linux.

Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
drivers/net/thunderx/meson.build

index 4bbcea7..da665bd 100644 (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