[v2,3/4] config: add arch 32-bit cross-compilation file

Message ID 20240906161244.1663967-4-bruce.richardson@intel.com (mailing list archive)
State New
Delegated to: David Marchand
Headers
Series simplify doing 32-bit DPDK builds |

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Bruce Richardson Sept. 6, 2024, 4:12 p.m. UTC
Add a 32-bit cross file for x86 for Arch linux

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
 config/x86/cross-32bit-arch.ini | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 config/x86/cross-32bit-arch.ini
  

Patch

diff --git a/config/x86/cross-32bit-arch.ini b/config/x86/cross-32bit-arch.ini
new file mode 100644
index 0000000000..b88244d1ef
--- /dev/null
+++ b/config/x86/cross-32bit-arch.ini
@@ -0,0 +1,22 @@ 
+[binaries]
+c = 'cc'
+cpp = 'c++'
+ar = 'ar'
+strip = 'strip'
+pkg-config = 'pkg-config'
+
+[host_machine]
+system = 'linux'
+cpu_family = 'x86'
+cpu = 'native'
+endian = 'little'
+
+[properties]
+pkg_config_libdir = '/usr/lib32/pkgconfig'
+
+[built-in options]
+c_args = '-m32'
+c_link_args = '-m32'
+cpp_args = '-m32'
+cpp_link_args = '-m32'
+libdir = 'lib32'