diff options
Diffstat (limited to 'meta/recipes-devtools/meson/meson/0002-Make-CPU-family-warnings-fatal.patch')
-rw-r--r-- | meta/recipes-devtools/meson/meson/0002-Make-CPU-family-warnings-fatal.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/meson/meson/0002-Make-CPU-family-warnings-fatal.patch b/meta/recipes-devtools/meson/meson/0002-Make-CPU-family-warnings-fatal.patch index a6c1b25c46..ca56a6a8bf 100644 --- a/meta/recipes-devtools/meson/meson/0002-Make-CPU-family-warnings-fatal.patch +++ b/meta/recipes-devtools/meson/meson/0002-Make-CPU-family-warnings-fatal.patch | |||
@@ -21,7 +21,7 @@ index d29a77f..267acf9 100644 | |||
21 | - mlog.warning('Unknown CPU family {!r}, please report this at ' | 21 | - mlog.warning('Unknown CPU family {!r}, please report this at ' |
22 | - 'https://github.com/mesonbuild/meson/issues/new with the' | 22 | - 'https://github.com/mesonbuild/meson/issues/new with the' |
23 | - 'output of `uname -a` and `cat /proc/cpuinfo`'.format(trial)) | 23 | - 'output of `uname -a` and `cat /proc/cpuinfo`'.format(trial)) |
24 | + raise EnvironmentException('Unknown CPU family %s, please report this at https://github.com/mesonbuild/meson/issues/new' % trial) | 24 | + raise EnvironmentException('Unknown CPU family %s, see https://wiki.yoctoproject.org/wiki/Meson/UnknownCPU for directions.' % trial) |
25 | 25 | ||
26 | return trial | 26 | return trial |
27 | 27 | ||
@@ -30,7 +30,7 @@ index d29a77f..267acf9 100644 | |||
30 | 30 | ||
31 | if entry == 'cpu_family' and res not in known_cpu_families: | 31 | if entry == 'cpu_family' and res not in known_cpu_families: |
32 | - mlog.warning('Unknown CPU family %s, please report this at https://github.com/mesonbuild/meson/issues/new' % value) | 32 | - mlog.warning('Unknown CPU family %s, please report this at https://github.com/mesonbuild/meson/issues/new' % value) |
33 | + raise EnvironmentException('Unknown CPU family %s, please report this at https://github.com/mesonbuild/meson/issues/new' % trial) | 33 | + raise EnvironmentException('Unknown CPU family %s, see https://wiki.yoctoproject.org/wiki/Meson/UnknownCPU for directions.' % value) |
34 | 34 | ||
35 | if self.ok_type(res): | 35 | if self.ok_type(res): |
36 | self.config[s][entry] = res | 36 | self.config[s][entry] = res |