diff options
author | Ross Burton <ross.burton@intel.com> | 2018-07-09 17:18:45 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-07-10 17:33:00 +0100 |
commit | 7af5e3bad3fd6e4f6d521c0e67b8bb59bdbdfbf8 (patch) | |
tree | 7c8b093307de774b1100757a1995ae546069a725 | |
parent | d0389bf1cd63154ed2cce159ee37d7a4f1fd72a7 (diff) | |
download | poky-7af5e3bad3fd6e4f6d521c0e67b8bb59bdbdfbf8.tar.gz |
meson: improve code style
Use elif for consistency.
(From OE-Core rev: 2ad89f12c9819326b29588a8a6c642aaae990f18)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/meson.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
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): | |||
52 | arch = d.getVar(var) | 52 | arch = d.getVar(var) |
53 | if arch == 'powerpc': | 53 | if arch == 'powerpc': |
54 | return 'ppc' | 54 | return 'ppc' |
55 | if arch == 'mipsel': | 55 | elif arch == 'mipsel': |
56 | return 'mips' | 56 | return 'mips' |
57 | elif re.match(r"i[3-6]86", arch): | 57 | elif re.match(r"i[3-6]86", arch): |
58 | return "x86" | 58 | return "x86" |