From: Ross Burton Date: Mon, 9 Jul 2018 16:18:45 +0000 (+0100) Subject: meson: improve code style X-Git-Tag: uninative-2.2~124 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=2ad89f12c9819326b29588a8a6c642aaae990f18;p=openembedded-core.git meson: improve code style Use elif for consistency. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/classes/meson.bbclass b/meta/classes/meson.bbclass index 4a54e9ee9d..66c44e8bb2 100644 --- a/meta/classes/meson.bbclass +++ b/meta/classes/meson.bbclass @@ -52,7 +52,7 @@ def meson_cpu_family(var, d): arch = d.getVar(var) if arch == 'powerpc': return 'ppc' - if arch == 'mipsel': + elif arch == 'mipsel': return 'mips' elif re.match(r"i[3-6]86", arch): return "x86"