summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-08-02 11:39:20 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-08-07 12:13:03 +0100
commit471c3387d4753ff4a775e0a30ee9c8c0105ab093 (patch)
treec7fedc304750b7841641978811160026e454eb40
parent30352f3d84344bff8c06625f9674947417f6e8e1 (diff)
downloadpoky-471c3387d4753ff4a775e0a30ee9c8c0105ab093.tar.gz
meson: Add risc-v to known architectures
(From OE-Core rev: 65e0b318b8521c3213249693cc898374effcf531) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/meson/meson.inc1
-rw-r--r--meta/recipes-devtools/meson/meson/0001-mesonbuild-Recognise-risc-v-architecture.patch27
2 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-devtools/meson/meson.inc b/meta/recipes-devtools/meson/meson.inc
index b278d33b72..a650469e93 100644
--- a/meta/recipes-devtools/meson/meson.inc
+++ b/meta/recipes-devtools/meson/meson.inc
@@ -12,6 +12,7 @@ SRC_URI = "https://github.com/mesonbuild/meson/releases/download/${PV}/meson-${P
12 file://0004-Prettifying-some-output-with-pathlib.patch \ 12 file://0004-Prettifying-some-output-with-pathlib.patch \
13 file://0005-Set-the-meson-command-to-use-when-we-know-what-it-is.patch \ 13 file://0005-Set-the-meson-command-to-use-when-we-know-what-it-is.patch \
14 file://validate-cpu.patch \ 14 file://validate-cpu.patch \
15 file://0001-mesonbuild-Recognise-risc-v-architecture.patch \
15 " 16 "
16 17
17SRC_URI[md5sum] = "1698f6526574839de5dcdc45e3f7d582" 18SRC_URI[md5sum] = "1698f6526574839de5dcdc45e3f7d582"
diff --git a/meta/recipes-devtools/meson/meson/0001-mesonbuild-Recognise-risc-v-architecture.patch b/meta/recipes-devtools/meson/meson/0001-mesonbuild-Recognise-risc-v-architecture.patch
new file mode 100644
index 0000000000..a983bd7a9b
--- /dev/null
+++ b/meta/recipes-devtools/meson/meson/0001-mesonbuild-Recognise-risc-v-architecture.patch
@@ -0,0 +1,27 @@
1From 85bb96909d2024769d8e758538a7e8e2004dbb4d Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 14 Jul 2018 13:03:39 -0700
4Subject: [PATCH] mesonbuild: Recognise risc-v architecture
5
6Upstream-Status: Backport [https://github.com/mesonbuild/meson/commit/6fafbad6d5ba591075a72e4726af647cece7020d]
7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8---
9 mesonbuild/environment.py | 2 ++
10 1 file changed, 2 insertions(+)
11
12diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py
13index a0580a21..b2041424 100644
14--- a/mesonbuild/environment.py
15+++ b/mesonbuild/environment.py
16@@ -83,6 +83,8 @@ known_cpu_families = (
17 'ppc',
18 'ppc64',
19 'ppc64le',
20+ 'riscv32',
21+ 'riscv64',
22 'sparc64',
23 'x86',
24 'x86_64'
25--
262.18.0
27