diff mbox series

meson: improve code style

Message ID 20180709161845.9645-1-ross.burton@intel.com
State Accepted
Commit 2ad89f12c9819326b29588a8a6c642aaae990f18
Headers show
Series meson: improve code style | expand

Commit Message

Ross Burton July 9, 2018, 4:18 p.m. UTC
Use elif for consistency.

Signed-off-by: Ross Burton <ross.burton@intel.com>

---
 meta/classes/meson.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.11.0

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
diff mbox series

Patch

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"