mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 01:19:52 +00:00
meson: send user to our wiki instead of Meson bug system
If a CPU family isn't recognised the first step should be to verify the mapping. Send the user to a wiki page explaining what to do, instead of directly to the Meson bug tracker. (From OE-Core rev: 6c1e880a2bf4799cf451ff20c7ab93c55a755751) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
ef98f64b71
commit
23899a254e
@@ -100,7 +100,7 @@ index 091d92dc..67177c1f 100644
|
||||
|
||||
if trial not in known_cpu_families:
|
||||
- mlog.warning('Unknown CPU family %s, please report this at https://github.com/mesonbuild/meson/issues/new' % trial)
|
||||
+ raise EnvironmentException('Unknown CPU family %s, please report this at https://github.com/mesonbuild/meson/issues/new' % trial)
|
||||
+ raise EnvironmentException('Unknown CPU family %s, see https://wiki.yoctoproject.org/wiki/Meson/UnknownCPU for directions.' % trial)
|
||||
|
||||
return trial
|
||||
|
||||
@@ -109,7 +109,7 @@ index 091d92dc..67177c1f 100644
|
||||
|
||||
if entry == 'cpu_family' and res not in known_cpu_families:
|
||||
- mlog.warning('Unknown CPU family %s, please report this at https://github.com/mesonbuild/meson/issues/new' % value)
|
||||
+ raise EnvironmentException('Unknown CPU family %s, please report this at https://github.com/mesonbuild/meson/issues/new' % value)
|
||||
+ raise EnvironmentException('Unknown CPU family %s, see https://wiki.yoctoproject.org/wiki/Meson/UnknownCPU for directions.' % value)
|
||||
|
||||
if self.ok_type(res):
|
||||
self.config[s][entry] = res
|
||||
|
||||
Reference in New Issue
Block a user