[oe-commits] [openembedded-core] 05/13: meson: improve code style

git at git.openembedded.org git at git.openembedded.org
Tue Jul 10 10:11:18 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 2ad89f12c9819326b29588a8a6c642aaae990f18
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Mon Jul 9 17:18:45 2018 +0100

    meson: improve code style
    
    Use elif for consistency.
    
    Signed-off-by: Ross Burton <ross.burton at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/meson.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list