summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-07-09 16:18:45 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-10 16:33:00 (GMT)
commit7af5e3bad3fd6e4f6d521c0e67b8bb59bdbdfbf8 (patch)
tree7c8b093307de774b1100757a1995ae546069a725
parentd0389bf1cd63154ed2cce159ee37d7a4f1fd72a7 (diff)
downloadpoky-7af5e3bad3fd6e4f6d521c0e67b8bb59bdbdfbf8.zip
poky-7af5e3bad3fd6e4f6d521c0e67b8bb59bdbdfbf8.tar.gz
poky-7af5e3bad3fd6e4f6d521c0e67b8bb59bdbdfbf8.tar.bz2
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.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/meson.bbclass b/meta/classes/meson.bbclass
index 4a54e9e..66c44e8 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"