[v4,5/5] meson: add cross build targets for thunderx2 and octeontx2

Message ID 20190109103915.29210-5-pbhagavatula@marvell.com
State Superseded
Delegated to: Thomas Monjalon
Headers show
Series
  • [v4,1/5] mk: introduce helper to check valid compiler argument
Related show

Checks

Context Check Description
ci/Intel-compilation success Compilation OK

Commit Message

Pavan Nikhilesh Bhagavatula Jan. 9, 2019, 10:39 a.m.
From: Pavan Nikhilesh <pbhagavatula@marvell.com>

Add Thunderx2 and Octeontx2 SoC cross build targets.
meson build --cross-file config/arm/arm64_<cpu>_<platform>_<compiler>

Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
---
 config/arm/arm64_octeontx2_linuxapp_gcc | 14 ++++++++++++++
 config/arm/arm64_thunderx2_linuxapp_gcc | 14 ++++++++++++++
 2 files changed, 28 insertions(+)
 create mode 100644 config/arm/arm64_octeontx2_linuxapp_gcc
 create mode 100644 config/arm/arm64_thunderx2_linuxapp_gcc

Comments

Thomas Monjalon Jan. 14, 2019, 11:28 a.m. | #1
09/01/2019 11:39, Pavan Nikhilesh Bhagavatula:
> From: Pavan Nikhilesh <pbhagavatula@marvell.com>
> 
> Add Thunderx2 and Octeontx2 SoC cross build targets.
> meson build --cross-file config/arm/arm64_<cpu>_<platform>_<compiler>
> 
> Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
> ---
>  config/arm/arm64_octeontx2_linuxapp_gcc | 14 ++++++++++++++
>  config/arm/arm64_thunderx2_linuxapp_gcc | 14 ++++++++++++++
>  2 files changed, 28 insertions(+)

Don't you think it could be merged in patches 3 & 4
for more clarity?

Patch

diff --git a/config/arm/arm64_octeontx2_linuxapp_gcc b/config/arm/arm64_octeontx2_linuxapp_gcc
new file mode 100644
index 000000000..83e28e817
--- /dev/null
+++ b/config/arm/arm64_octeontx2_linuxapp_gcc
@@ -0,0 +1,14 @@ 
+[binaries]
+c = 'aarch64-linux-gnu-gcc'
+cpp = 'aarch64-linux-gnu-cpp'
+ar = 'aarch64-linux-gnu-gcc-ar'
+strip = 'aarch64-linux-gnu-strip'
+
+[host_machine]
+system = 'linux'
+cpu_family = 'aarch64'
+cpu = 'armv8-a'
+endian = 'little'
+
+[properties]
+implementor_id = '0xb2'
diff --git a/config/arm/arm64_thunderx2_linuxapp_gcc b/config/arm/arm64_thunderx2_linuxapp_gcc
new file mode 100644
index 000000000..de1146639
--- /dev/null
+++ b/config/arm/arm64_thunderx2_linuxapp_gcc
@@ -0,0 +1,14 @@ 
+[binaries]
+c = 'aarch64-linux-gnu-gcc'
+cpp = 'aarch64-linux-gnu-cpp'
+ar = 'aarch64-linux-gnu-gcc-ar'
+strip = 'aarch64-linux-gnu-strip'
+
+[host_machine]
+system = 'linux'
+cpu_family = 'aarch64'
+cpu = 'armv8-a'
+endian = 'little'
+
+[properties]
+implementor_id = '0xaf'