[v10,3/5] build: add aarch32 to meson cross-compilation

Message ID 1600244472-29696-4-git-send-email-juraj.linkes@pantheon.tech (mailing list archive)
State Superseded, archived
Delegated to: Thomas Monjalon
Headers
Series aarch64 -> aarch32 cross compilation support |

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Juraj Linkeš Sept. 16, 2020, 8:21 a.m. UTC
  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>
---
 config/arm/arm32_armv8a_linux_gcc | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 config/arm/arm32_armv8a_linux_gcc
  

Comments

Ruifeng Wang Oct. 21, 2020, 2:27 p.m. UTC | #1
> -----Original Message-----
> From: dev <dev-bounces@dpdk.org> On Behalf Of Juraj Linke?
> Sent: Wednesday, September 16, 2020 4:21 PM
> To: thomas@monjalon.net; bruce.richardson@intel.com;
> aconole@redhat.com; maicolgabriel@hotmail.com
> Cc: juraj.linkes@pantheon.tech; dev@dpdk.org
> Subject: [dpdk-dev] [PATCH v10 3/5] build: add aarch32 to meson cross-
> compilation
> 
> 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>
> ---
>  config/arm/arm32_armv8a_linux_gcc | 17 +++++++++++++++++
>  1 file changed, 17 insertions(+)
>  create mode 100644 config/arm/arm32_armv8a_linux_gcc
> 
> diff --git a/config/arm/arm32_armv8a_linux_gcc
> b/config/arm/arm32_armv8a_linux_gcc
> new file mode 100644
> index 000000000..d3c4bce6c
> --- /dev/null
> +++ b/config/arm/arm32_armv8a_linux_gcc
> @@ -0,0 +1,17 @@
> +[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 = 'aarch64'
> +cpu = 'armv8-a'
> +endian = 'little'
> +
> +[properties]
> +implementor_id = '0x41'
> +implementor_pn = 'aarch32'
> --
> 2.20.1

Acked-by: Ruifeng Wang <ruifeng.wang@arm.com>
  

Patch

diff --git a/config/arm/arm32_armv8a_linux_gcc b/config/arm/arm32_armv8a_linux_gcc
new file mode 100644
index 000000000..d3c4bce6c
--- /dev/null
+++ b/config/arm/arm32_armv8a_linux_gcc
@@ -0,0 +1,17 @@ 
+[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 = 'aarch64'
+cpu = 'armv8-a'
+endian = 'little'
+
+[properties]
+implementor_id = '0x41'
+implementor_pn = 'aarch32'