From patchwork Mon Jul 9 16:18:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 141464 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2851773ljj; Mon, 9 Jul 2018 09:18:56 -0700 (PDT) X-Google-Smtp-Source: AAOMgpc4CjYEJEuMkmQnjg4YakXR/QY4flXG4rU6HaKSb8q8Xg80VRxQ/7J6Rud5aRqomGktYxNQ X-Received: by 2002:a63:b95c:: with SMTP id v28-v6mr13243065pgo.162.1531153136364; Mon, 09 Jul 2018 09:18:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531153136; cv=none; d=google.com; s=arc-20160816; b=W3Zl97KcqU/VBTSYv7atMKM6a+l28hzuhVXbvlq8RKtiwnRxS6puHj9ARrOBc+Zovk TU8Px1vknApEDBYdVx7FJgCotLiDm5rR2tAhWyC/03XTofmsDMq83ars/elRgVohINtV LLG18Hm3O76X1qNe4J94ru37+Yam7bKrBx1B32NeMdSR3S821CJNXHjn7Ai+4ynXWfOP SLwPnYTRAiWRaZ3zo6yKyzGOH6Rs08e4kTxVZwOlc85VVNodsg97mvnzt2EwWSsKWRxu 8G7EWbC2LcMu9mceOBr00SuLgAIhn0jap0Lj6S0Wncf0rUhon5JuxJWF7inlUttUI6As Dm2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=Ia8KK8SUZegI/11mhzVxjqgyM8yewTwrwl2frSHpJwY=; b=WCvff8hbzlhP2dkLskGeTK7D5ZHrQKjN0F51ndXJ8gjOf2BHElqDgYhv5MxZNhQfmk Ktglr8rLUNJ1+SyoaRR8JTOm1wj74Ff5jivXw0paagfROho+mqGhYq6t/IaHQ6CdnYLh RqwQzshvVnOV/Ia/ziXyfjRXpsyYnP3qnTHZitWMMWRqVAPhPLVkEHFmC2qRVhLp+FcD ozy0WHGtTCUbyTfcJex9uOFAaKOOVSTHkU3ItHKpz4d7qJBu+dcAiK7v+x8CEmwQdgfy iQaetiC37a/tiQd49FiqkqMfDvbWBeNv+2+neQo3ZUrNZM2rjzZVsegKwcjO/kY+yJWA 6x2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=rfJRVsFa; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id o18-v6si13826745pgg.250.2018.07.09.09.18.55; Mon, 09 Jul 2018 09:18:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=rfJRVsFa; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id D02EA74700; Mon, 9 Jul 2018 16:18:50 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by mail.openembedded.org (Postfix) with ESMTP id 2D277606D0 for ; Mon, 9 Jul 2018 16:18:49 +0000 (UTC) Received: by mail-wr1-f68.google.com with SMTP id b15-v6so11611476wrv.10 for ; Mon, 09 Jul 2018 09:18:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id; bh=sXZ+DcCOZOEoq4lHrCeMW0H2o4qnbeh+p+CGr+9HsQA=; b=rfJRVsFaE0UbObN3rgq8rLp7UANDQgXucHLYvbgtIRfjbzdfFcFh5znT551BuNh20l 2nFCejaJYkvKvPwQ61n70XTwzlZ2ym/P0ORByb8rjjm3N5T9EcE8MnBJUh49d+AFzCGL a69mPOz5igSSd5+fhHUMyJ7EOHbhDUNpO8/S3rTLNPJx8OHKWt2/KdMcEtrDbBwVViAf jALSkAqL1aO0Gu/D5zcVAAM4v3feX9NmvKoq6KcL0//xWDolgGQvzkfq6OX2Bnvwa+Pf Zj06UqDtUuTxRJtJifGwFD1djq9QGabAZu8ivgUdQzP9sDnpO9p6X3v5V4a+RJ36J/1B hDTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=sXZ+DcCOZOEoq4lHrCeMW0H2o4qnbeh+p+CGr+9HsQA=; b=QMjADXeBGEBMrc+j53lS/zZ0vOVx9GNNZfLKEk0Jlnq1gb9rheFlyZDwEWbCZJi0Yu a0cniYqv6eg45evEsBjU/2cHDrWdiPjs7Mnq37JIapOEJM87laLgjh4jZd1YAHgwPOBf XgXdStO9JK1T13j5a4rND7a4RTualm2THIOcU/eoWtZTEr8+lbzBmHS3k0WAhQKv3mVc M+APGaMlLUrZBapnthQp0YPcYqlnpsLxFE6+D8Th3BagE79nPHxtHDQSZmjBD/u2P+HM ff/0oA9VjuumLZI013EBgufGZv4eHM6VnfTUFeix9UY9xSr2+/bskKIrqLA2zuWT1wYM T5lg== X-Gm-Message-State: APt69E1iXO7OFuZpOtAVons7ghf4HKL2NnVQyjskTfBoc1rlCEyaS6jY Ou4muAwkhZiRJBp09IzeJV9L5Ijh X-Received: by 2002:a5d:6250:: with SMTP id m16-v6mr16138226wrv.179.1531153128123; Mon, 09 Jul 2018 09:18:48 -0700 (PDT) Received: from flashheart.burtonini.com (35.106.2.81.in-addr.arpa. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id j77-v6sm18141512wmd.19.2018.07.09.09.18.47 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Jul 2018 09:18:47 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Mon, 9 Jul 2018 17:18:45 +0100 Message-Id: <20180709161845.9645-1-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 Subject: [OE-core] [PATCH] meson: improve code style X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Use elif for consistency. Signed-off-by: Ross Burton --- 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 --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"