From patchwork Thu Sep 20 20:42:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Brodkin X-Patchwork-Id: 972711 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=synopsys.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="fcpww/gr"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=synopsys.com header.i=@synopsys.com header.b="TcfrAnc7"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42GTFp2whWz9s8T for ; Fri, 21 Sep 2018 06:43:10 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=5FBTnmeU5Q1Hc09l4hgt4zl0tVxSZqDPBDDRnsftSck=; b=fcpww/grTW0qVhDep9swaFFsGa Dy7ljNbirZMyXg9SVlS/C21TruqB9uDfrRoQjhAxQWXJvNuugRfSmQMRjTKlrKiRMv43tAnmd/kqJ 27meDUCqKGnlVfTOMVole+ZmaZjQuKsihHpO+5MflZqmxjXjO52ysQ0RAh0OAJ6r/iUbXjmcqD7Eo VEYM8AqhcmWMZfeCrP83V2KoE8ootp8zYlRx/rwLEk5TD0xFB/OHro9ttqwQeruCgRInZF06SHjEm MFyIOaVLnk8jHwD3bF8/14BgLGAi7Hq+B2Ompp2McGk6XJwCzdK4uyg1C5Drg+kFKrGxwAkRFguxG SIY5Ahqw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g35n1-0003nP-7Q; Thu, 20 Sep 2018 20:43:07 +0000 Received: from us01smtprelay-2.synopsys.com ([198.182.60.111] helo=smtprelay.synopsys.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g35mr-0003jK-Uf for linux-snps-arc@lists.infradead.org; Thu, 20 Sep 2018 20:43:02 +0000 Received: from mailhost.synopsys.com (mailhost3.synopsys.com [10.12.238.238]) by smtprelay.synopsys.com (Postfix) with ESMTP id CDFF810C07F1; Thu, 20 Sep 2018 13:42:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1537476167; bh=fK7yUZI219eEKiZw54PSHhUAwFbOek4f68yTc4pblBY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TcfrAnc7wqPyX3pLVBD7n0X/W73R/rtACBWcommeteyW4xMW/IWThYfCVJBIZg6Ng p5JxBd8Cq0bfCBbR0jk+Js4EhkmiNuGVR/cJ8tobLle0KLrqXb7eMKtWaq7up4wpi0 G/ca7s1kJctE1M7wgAJhHmq8bfKHenM0Xq+tLSfBV9EE6yt5KIRt6hyAOxHSIIzGeJ gwnPvKoLx1hrwcuGROqoCT8zRAe/nF80mJuB1c3GZLSYdnqomkXrS4NjYChGyOFq9d eMvdlo9IsDaMlKKOwOe2g3kiK0zOkbhyrOA39iSjqI5j2SEaCc/Ixg0cHbiJt55JBl rXLcOksJvcLcA== Received: from ru20arcgnu1.internal.synopsys.com (ru20arcgnu1.internal.synopsys.com [10.121.9.48]) by mailhost.synopsys.com (Postfix) with ESMTP id 926863A6C; Thu, 20 Sep 2018 13:42:46 -0700 (PDT) From: Alexey Brodkin To: openembedded-core@lists.openembedded.org Subject: [PATCH v2 2/9] kernel-arch.bbclass: Add ARC to kernel arch map Date: Thu, 20 Sep 2018 23:42:25 +0300 Message-Id: <20180920204232.10583-3-abrodkin@synopsys.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180920204232.10583-1-abrodkin@synopsys.com> References: <20180920204232.10583-1-abrodkin@synopsys.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180920_134258_011765_76D039D9 X-CRM114-Status: UNSURE ( 9.08 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.1 (/) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [198.182.60.111 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-snps-arc@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux on Synopsys ARC Processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-snps-arc@lists.infradead.org, Alexey Brodkin , Khem Raj MIME-Version: 1.0 Sender: "linux-snps-arc" Errors-To: linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Signed-off-by: Alexey Brodkin --- No changes in v2 meta/classes/kernel-arch.bbclass | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/classes/kernel-arch.bbclass b/meta/classes/kernel-arch.bbclass index 09793fc9c2..2b52a63c64 100644 --- a/meta/classes/kernel-arch.bbclass +++ b/meta/classes/kernel-arch.bbclass @@ -22,6 +22,7 @@ def map_kernel_arch(a, d): valid_archs = d.getVar('valid_archs').split() if re.match('(i.86|athlon|x86.64)$', a): return 'x86' + elif re.match('arceb$', a): return 'arc' elif re.match('armeb$', a): return 'arm' elif re.match('aarch64$', a): return 'arm64' elif re.match('aarch64_be$', a): return 'arm64'