]> 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>
Tue, 3 Jul 2018 23:02:55 +0000 (00:02 +0100)
commit967de57de4f0fd853463ea24963aef8516e3bce0
tree625effa9dd5d1b977e4cf4f4a42efae50ed2fc0d
parent49c55c7d92e208202cc19d5299ea960f53691ef7
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]