]> git.droids-corp.org - dpdk.git/commitdiff
common/octeontx2: enable build only on 64-bit Linux
authorPavan Nikhilesh <pbhagavatula@marvell.com>
Thu, 14 Oct 2021 19:56:53 +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 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>
drivers/common/octeontx2/meson.build
drivers/event/octeontx2/meson.build
drivers/mempool/octeontx2/meson.build
drivers/net/octeontx2/meson.build

index dcfaa1e102bcba0fca7c785b07c13a9cf15e9a08..223ba5ef5114d6117ab83a85eed5c3e4c5d29640 100644 (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
 
index 96ebb1f2e72ec809cfce924fc07e93e55cd2ed95..ce360af5f8cbdc485863096538079919e4b0d8c3 100644 (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
 
index 2a1dfddd4c67834546361f0859f003dd1c272f6d..a4bea6d36452244012b728fc6afa2a2fb3ac4215 100644 (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
 
index a3553131202aa3a251ed43b1515ab7daf9354cdc..ab15844cbc55712d95c83fd8a61c1606c336cf4e 100644 (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