config/arm: add aarch32 cross-compilation
authorJuraj Linkeš <juraj.linkes@pantheon.tech>
Wed, 7 Jul 2021 13:25:42 +0000 (15:25 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 9 Jul 2021 18:03:37 +0000 (20:03 +0200)
Create meson cross file arm32_armv8a_linux_gcc. Use arm-linux-gnueabihf-
toolset which comes with standard packages on most used systems, such as
Ubuntu and CentOS.

Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
Acked-by: Ruifeng Wang <ruifeng.wang@arm.com>
config/arm/arm32_armv8_linux_gcc [new file with mode: 0644]

diff --git a/config/arm/arm32_armv8_linux_gcc b/config/arm/arm32_armv8_linux_gcc
new file mode 100644 (file)
index 0000000..89f8a12
--- /dev/null
@@ -0,0 +1,16 @@
+[binaries]
+c = 'arm-linux-gnueabihf-gcc'
+cpp = 'arm-linux-gnueabihf-cpp'
+ar = 'arm-linux-gnueabihf-gcc-ar'
+strip = 'arm-linux-gnueabihf-strip'
+pkgconfig = 'arm-linux-gnueabihf-pkg-config'
+pcap-config = ''
+
+[host_machine]
+system = 'linux'
+cpu_family = 'aarch32'
+cpu = 'armv8-a'
+endian = 'little'
+
+[properties]
+platform = 'generic_aarch32'