mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 17:39:31 +00:00
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>
This commit is contained in:
@@ -12,6 +12,7 @@ SRC_URI = "https://github.com/mesonbuild/meson/releases/download/${PV}/meson-${P
|
|||||||
file://0004-Prettifying-some-output-with-pathlib.patch \
|
file://0004-Prettifying-some-output-with-pathlib.patch \
|
||||||
file://0005-Set-the-meson-command-to-use-when-we-know-what-it-is.patch \
|
file://0005-Set-the-meson-command-to-use-when-we-know-what-it-is.patch \
|
||||||
file://validate-cpu.patch \
|
file://validate-cpu.patch \
|
||||||
|
file://0001-mesonbuild-Recognise-risc-v-architecture.patch \
|
||||||
"
|
"
|
||||||
|
|
||||||
SRC_URI[md5sum] = "1698f6526574839de5dcdc45e3f7d582"
|
SRC_URI[md5sum] = "1698f6526574839de5dcdc45e3f7d582"
|
||||||
|
|||||||
@@ -0,0 +1,27 @@
|
|||||||
|
From 85bb96909d2024769d8e758538a7e8e2004dbb4d Mon Sep 17 00:00:00 2001
|
||||||
|
From: Khem Raj <raj.khem@gmail.com>
|
||||||
|
Date: Sat, 14 Jul 2018 13:03:39 -0700
|
||||||
|
Subject: [PATCH] mesonbuild: Recognise risc-v architecture
|
||||||
|
|
||||||
|
Upstream-Status: Backport [https://github.com/mesonbuild/meson/commit/6fafbad6d5ba591075a72e4726af647cece7020d]
|
||||||
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||||
|
---
|
||||||
|
mesonbuild/environment.py | 2 ++
|
||||||
|
1 file changed, 2 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py
|
||||||
|
index a0580a21..b2041424 100644
|
||||||
|
--- a/mesonbuild/environment.py
|
||||||
|
+++ b/mesonbuild/environment.py
|
||||||
|
@@ -83,6 +83,8 @@ known_cpu_families = (
|
||||||
|
'ppc',
|
||||||
|
'ppc64',
|
||||||
|
'ppc64le',
|
||||||
|
+ 'riscv32',
|
||||||
|
+ 'riscv64',
|
||||||
|
'sparc64',
|
||||||
|
'x86',
|
||||||
|
'x86_64'
|
||||||
|
--
|
||||||
|
2.18.0
|
||||||
|
|
||||||
Reference in New Issue
Block a user