Skip to contentSkip to conversation

meson: improve code style

PATCH New Ross Burton 1 participant 1 message Jul 9, 2018 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 meson: improve code style

Use elif for consistency.

---
 meta/classes/meson.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/meson.bbclass +1 -1
index 4a54e9ee9dd..66c44e8bb23 100644
@@ -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"
Signature · 1 line
2.11.0