]> code.ossystems Code Review - openembedded-core.git/commit
meson: validate cpu_family
authorRoss Burton <ross.burton@intel.com>
Tue, 3 Jul 2018 13:04:11 +0000 (14:04 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 4 Jul 2018 11:27:27 +0000 (12:27 +0100)
commitbe194a459944dfcc41bae7315643a5d284683efc
tree6e340ed0ad56df4e08f2e5ad001315ba736e8ecc
parente33b902a1dc4294dac148715f4d3ca5b0a6ee1b7
meson: validate cpu_family

Meson has a defined list of known CPU families but these are not currently
validated, so mistakes in cross files or new architectures are not noticed.

Backport a patch from upstream which warns on unknown architectures, but tweak
it to fatally error instead.  When we upgrade to Meson 0.47 the first half of
this patch can be dropped.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/meson/meson.inc
meta/recipes-devtools/meson/meson/validate-cpu.patch [new file with mode: 0644]