From be194a459944dfcc41bae7315643a5d284683efc Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Tue, 3 Jul 2018 14:04:11 +0100 Subject: 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 Signed-off-by: Richard Purdie --- meta/recipes-devtools/meson/meson.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-devtools/meson/meson.inc') diff --git a/meta/recipes-devtools/meson/meson.inc b/meta/recipes-devtools/meson/meson.inc index 4c113dcaf7..b278d33b72 100644 --- a/meta/recipes-devtools/meson/meson.inc +++ b/meta/recipes-devtools/meson/meson.inc @@ -11,6 +11,7 @@ SRC_URI = "https://github.com/mesonbuild/meson/releases/download/${PV}/meson-${P file://0003-native_bindir.patch \ file://0004-Prettifying-some-output-with-pathlib.patch \ file://0005-Set-the-meson-command-to-use-when-we-know-what-it-is.patch \ + file://validate-cpu.patch \ " SRC_URI[md5sum] = "1698f6526574839de5dcdc45e3f7d582" -- cgit 1.2.3-korg