aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-07-09 17:18:45 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-10 11:10:14 +0100
commit2ad89f12c9819326b29588a8a6c642aaae990f18 (patch)
tree79cb54a44c7d26fdf4d80377e654093b5eff5fca
parent7d0ef0eaa1bfe97015a774c26f5791622e7e8b12 (diff)
downloadopenembedded-core-contrib-2ad89f12c9819326b29588a8a6c642aaae990f18.tar.gz
openembedded-core-contrib-2ad89f12c9819326b29588a8a6c642aaae990f18.tar.bz2
openembedded-core-contrib-2ad89f12c9819326b29588a8a6c642aaae990f18.zip
meson: improve code style
Use elif for consistency. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/meson.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/meson.bbclass b/meta/classes/meson.bbclass
index 4a54e9ee9dd..66c44e8bb23 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"