diff mbox series

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

Message ID 20190109101836.26155-5-pbhagavatula@marvell.com (mailing list archive)
State Superseded, archived
Delegated to: Thomas Monjalon
Headers show
Series [v3,1/4] mk: introduce helper to check valid compiler argument | expand

Commit Message

Pavan Nikhilesh Bhagavatula Jan. 9, 2019, 10:19 a.m. UTC
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: Jerin Jacob <jerinj@marvell.com>
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

--
2.20.1
diff mbox series

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'