diff options
| author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2018-08-14 21:06:24 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-15 09:44:33 +0100 |
| commit | 7bdfa2cc6e5d9e15bf2970213b4198824a9446e5 (patch) | |
| tree | c2c7533863b39c7d45d3091ab4693fd17892cd0e /meta/recipes-devtools/meson | |
| parent | 9f24972d790865131ed601c3bd39408a86bf5571 (diff) | |
| download | poky-7bdfa2cc6e5d9e15bf2970213b4198824a9446e5.tar.gz | |
meson: Support building allarch recipes again
This registers "allarch" as a known CPU family.
(From OE-Core rev: f12b64e9332e3988953f87d8cea39ca309be5046)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/meson')
| -rw-r--r-- | meta/recipes-devtools/meson/meson.inc | 1 | ||||
| -rw-r--r-- | meta/recipes-devtools/meson/meson/0001-Support-building-allarch-recipes-again.patch | 28 |
2 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-devtools/meson/meson.inc b/meta/recipes-devtools/meson/meson.inc index c9e1e051c6..b5dfa2c2a2 100644 --- a/meta/recipes-devtools/meson/meson.inc +++ b/meta/recipes-devtools/meson/meson.inc | |||
| @@ -15,6 +15,7 @@ SRC_URI = "https://github.com/mesonbuild/meson/releases/download/${PV}/meson-${P | |||
| 15 | file://0002-Make-CPU-family-warnings-fatal.patch \ | 15 | file://0002-Make-CPU-family-warnings-fatal.patch \ |
| 16 | file://0003-Send-user-to-our-wiki-instead-of-Meson-bug-system.patch \ | 16 | file://0003-Send-user-to-our-wiki-instead-of-Meson-bug-system.patch \ |
| 17 | file://0001-mesonbuild-Recognise-risc-v-architecture.patch \ | 17 | file://0001-mesonbuild-Recognise-risc-v-architecture.patch \ |
| 18 | file://0001-Support-building-allarch-recipes-again.patch \ | ||
| 18 | " | 19 | " |
| 19 | 20 | ||
| 20 | SRC_URI[md5sum] = "1698f6526574839de5dcdc45e3f7d582" | 21 | SRC_URI[md5sum] = "1698f6526574839de5dcdc45e3f7d582" |
diff --git a/meta/recipes-devtools/meson/meson/0001-Support-building-allarch-recipes-again.patch b/meta/recipes-devtools/meson/meson/0001-Support-building-allarch-recipes-again.patch new file mode 100644 index 0000000000..f6dd230916 --- /dev/null +++ b/meta/recipes-devtools/meson/meson/0001-Support-building-allarch-recipes-again.patch | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | From d80d02a3ca6e21fa3d055c88c05234c2eb4db128 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Peter Kjellerstedt <pkj@axis.com> | ||
| 3 | Date: Thu, 26 Jul 2018 16:32:49 +0200 | ||
| 4 | Subject: [PATCH] Support building allarch recipes again | ||
| 5 | |||
| 6 | This registers "allarch" as a known CPU family. | ||
| 7 | |||
| 8 | Upstream-Status: Inappropriate [OE specific] | ||
| 9 | Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> | ||
| 10 | --- | ||
| 11 | mesonbuild/environment.py | 1 + | ||
| 12 | 1 file changed, 1 insertion(+) | ||
| 13 | |||
| 14 | diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py | ||
| 15 | index a0580a2..712b1e8 100644 | ||
| 16 | --- a/mesonbuild/environment.py | ||
| 17 | +++ b/mesonbuild/environment.py | ||
| 18 | @@ -73,6 +73,7 @@ from .compilers import ( | ||
| 19 | build_filename = 'meson.build' | ||
| 20 | |||
| 21 | known_cpu_families = ( | ||
| 22 | + 'allarch', | ||
| 23 | 'aarch64', | ||
| 24 | 'arm', | ||
| 25 | 'e2k', | ||
| 26 | -- | ||
| 27 | 2.12.0 | ||
| 28 | |||
