From patchwork Sun Jul 15 19:44:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 141964 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp1675089ljj; Sun, 15 Jul 2018 12:44:24 -0700 (PDT) X-Google-Smtp-Source: AAOMgpftqRz5GTcXPexa7RoBiu3NP0X2Myk/vFy/w9h3wDsr3+nEeWMI+WtNxKng+m4K2Fz9BnbN X-Received: by 2002:a17:902:b406:: with SMTP id x6-v6mr5437056plr.34.1531683864680; Sun, 15 Jul 2018 12:44:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531683864; cv=none; d=google.com; s=arc-20160816; b=hYKnjdwk5n4hObOgkd3sZ6cUCNG3uwipeqsmW8ERw0YhyZKCshVKfJr65t0SQIr62R 3fIbR402UeUkMbhI7K7m+BmsVGUHW/gl88wa74dilEcRhfwkERVfNDRQCqeQoN9y515N Yim8J5yBKBfImfscORrC6yZ9S9XD/W3GvwfiEBSK1bcCMsJlsArK3h2I4HaG5JdhpzvK wEUlMtyyxUVnlE9o86V9+hRm4XkQT6XIZ/ePhGkGh66Rfm0Dz6VDLhI7w6MGeL1TDgQ0 okaFD7Z50aBtV4tfj6l3UYzrbX1dfueznP5OLeXMZJGw9LilNbU2Q/FEtLMliqHacr8V QAbA== 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:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=Ev7Ov/4j1S3d7wvgd6bOPiBSdkkpavNJt9CjPKWJm4c=; b=0+L6O9ywzhOd/dXkmGAsuIBgEJD/ux85WhnBTY//AThj4uUdOxE/dViLGZoBh7CT/O sVrWEiP6wLK3tCXF1Ag2yJ+Azt525fCnRzDbjmYG89uZKwDcrD72kqlRHCd+MJZ4nRwZ elwRdfqz/CHSmz5jvza+s3Z5xisI4zjmFYT8pAU5kkXA7z0y+fGdxNh5wT588kw2GYI8 Jf1W74dQPQFoBwtjaWRvLCjCun/GoKPdU5+/cQGkZxHuOYmYbpiage0BWgjGxYJ2e1wy gsVHiI+FSrQfJsG7ymjwkjQ7zuDSbbfK1CPEFAlPEzf9TsYuHJtHetiWvVO6p/rd3D6R GyGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=YRwsEArY; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id l30-v6si28821936plg.420.2018.07.15.12.44.23; Sun, 15 Jul 2018 12:44:24 -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=@gmail.com header.s=20161025 header.b=YRwsEArY; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id EA1567602C; Sun, 15 Jul 2018 19:44:19 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f182.google.com (mail-pf0-f182.google.com [209.85.192.182]) by mail.openembedded.org (Postfix) with ESMTP id 71D756B6EA for ; Sun, 15 Jul 2018 19:44:18 +0000 (UTC) Received: by mail-pf0-f182.google.com with SMTP id k21-v6so342239pff.11 for ; Sun, 15 Jul 2018 12:44:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=C7pyI2ibZHTQdhcWg++py4A4d7a3SXp+8zh3TEYyMK4=; b=YRwsEArYXBd/7pblpZZFPu68Dii0muBlul0W8ZkRZBhLyjmTJ2HldEqeouAMUCKXxK CdwKBxNvnq0sLScTSVnoW11bDSchmIHIMHxwqmNPDXe0Ni8SOH59omY9qOZZG+WDJ04G 3KaWyF6mscCYHE4KmCJ9GWzvUhWDsq/Qq6h/LhKqF6jjh/i9bmnoNVk2C9BPkHMJ+/oD 0hXe72mqzMf1E6ulIOB3I0/fNgD+Bn9mLSsOBEpj0zGmg2sOrkkNz+YfYFlJvfrmlI5R P+HZjmSpEq0XETnIcmq5DVYslMsKIOOin7Sblcunt4MumMuU/zvJlZ8PyhPx+Pgvtznv dO+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=C7pyI2ibZHTQdhcWg++py4A4d7a3SXp+8zh3TEYyMK4=; b=BnleOuIbfyN1h/Z83zBDhl33uo1EJxgSZ4C1J2WxuYSGlSVr34u6DpAnZwNRmwwA+g 4pridNE9zXFTRJljHVXtedBobNm5Dn651gal/7mGIE7PUKWWbQEw2bDToOUbeN3Oc/ne rbk/LE6B6pbzIB4XZAanX+1Yl96HstQvHw22dcFX1tW/vBogHe9hfTfL4ueM8PHq3zfG ZItm0+cM+wMe7wNg/SuKgHpCXJo1lUsaKmfFkGYcEf1lyPIOumBv1Ce47hUUbfnLstZa ZJPvgmvD/v6B7I9GKktpL/6f5QI8u2hylVzGthTBey09Wy1eb5L1sVjhWVOFA3pBZOzo fecQ== X-Gm-Message-State: AOUpUlFcuC3rxo8XZWPk2hSUEj54RGP5zCdsvtqb1/D2CHvWIPnaUk+l obKFMIwO/NPb6BsTKJsi/H7wsw== X-Received: by 2002:a63:29c6:: with SMTP id p189-v6mr13422830pgp.305.1531683859142; Sun, 15 Jul 2018 12:44:19 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::1736]) by smtp.gmail.com with ESMTPSA id x25-v6sm14309360pgv.63.2018.07.15.12.44.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 15 Jul 2018 12:44:18 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 15 Jul 2018 12:44:04 -0700 Message-Id: <20180715194404.29736-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180715194404.29736-1-raj.khem@gmail.com> References: <20180715194404.29736-1-raj.khem@gmail.com> Subject: [OE-core] [PATCH 3/3] meson: Add risc-v to known architectures 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 Signed-off-by: Khem Raj --- meta/recipes-devtools/meson/meson.inc | 1 + ...nbuild-Recognise-risc-v-architecture.patch | 27 +++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 meta/recipes-devtools/meson/meson/0001-mesonbuild-Recognise-risc-v-architecture.patch -- 2.18.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/meson/meson.inc b/meta/recipes-devtools/meson/meson.inc index b278d33b72..a650469e93 100644 --- a/meta/recipes-devtools/meson/meson.inc +++ b/meta/recipes-devtools/meson/meson.inc @@ -12,6 +12,7 @@ SRC_URI = "https://github.com/mesonbuild/meson/releases/download/${PV}/meson-${P file://0004-Prettifying-some-output-with-pathlib.patch \ file://0005-Set-the-meson-command-to-use-when-we-know-what-it-is.patch \ file://validate-cpu.patch \ + file://0001-mesonbuild-Recognise-risc-v-architecture.patch \ " SRC_URI[md5sum] = "1698f6526574839de5dcdc45e3f7d582" diff --git a/meta/recipes-devtools/meson/meson/0001-mesonbuild-Recognise-risc-v-architecture.patch b/meta/recipes-devtools/meson/meson/0001-mesonbuild-Recognise-risc-v-architecture.patch new file mode 100644 index 0000000000..5abf3642f3 --- /dev/null +++ b/meta/recipes-devtools/meson/meson/0001-mesonbuild-Recognise-risc-v-architecture.patch @@ -0,0 +1,27 @@ +From 85bb96909d2024769d8e758538a7e8e2004dbb4d Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 14 Jul 2018 13:03:39 -0700 +Subject: [PATCH] mesonbuild: Recognise risc-v architecture + +Upstream-Status: Submitted [https://github.com/mesonbuild/meson/pull/3889] +Signed-off-by: Khem Raj +--- + mesonbuild/environment.py | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py +index a0580a21..b2041424 100644 +--- a/mesonbuild/environment.py ++++ b/mesonbuild/environment.py +@@ -83,6 +83,8 @@ known_cpu_families = ( + 'ppc', + 'ppc64', + 'ppc64le', ++ 'riscv32', ++ 'riscv64', + 'sparc64', + 'x86', + 'x86_64' +-- +2.18.0 +