From patchwork Fri Jul 6 14:51:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 141332 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp3203210ljj; Fri, 6 Jul 2018 07:51:27 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd5WgPnrqRYR+2VVPyCEimohXTknQ5UnFi96I55kGtlTe5SMqos9Br+KuHAxlTCWl7iKy7+ X-Received: by 2002:a17:902:530a:: with SMTP id b10-v6mr10824399pli.316.1530888687393; Fri, 06 Jul 2018 07:51:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530888687; cv=none; d=google.com; s=arc-20160816; b=zxP5UgP9cu3675D8yvN8qoRT2TAyp7j5k8q3R5LC3zh48xEts72cIYzfcxlfetCyAd SQet9WnAtcq7JTzQEHhp81VOkWpukpLVBm1XD0U9nrZ1wifuoNactwtayyfSXMOJ3AHy kv5yv8S/Qzv3mYfI+GhX6bNwdEXsQevCBzNyBYQRiSW57S6+C0DtjWmx+e992GpTB3Fm uSIJos5Q1YyaA5vCWIGETh6Tx7QTCjSxDW0/MbBbX1Yfl0lsKEWKMc1SB7sWSZZyzzr3 6JhJXQFGUZHM0xwNtqSWQJ+LHp1amZny/naKK2zb77OD1DGNhNj8oEsHcd6CpwB05pqY Dj0g== 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=GXPgvw6W1tTKLO4ErED5j0a7sfT+7dN9iKn22g4C2ys=; b=w6zADxk58w+T7arzrdeCtY2KK/W6MTmh3/VD6wfjtDYrtVJWcaMwIrR5K9JNlxizbr tjelbHZYut3CxCqypZYyf+qyKqwvLtyg10TLDieV0T+e3W6mM6f8GAd8L+ruXGeKe0p+ jo8OjO3HxhoOKktffECCMdJ7mFDNjvzqSC47FEYT78tbgrWQh4ZSX6k5JgF4kYH/15dN DDi4DwGmj+m2MfgYGSr44Sphg3YsSyWjTFoOaNKTHFAVGSnW+TcfEsMZyLs27uTkm1iS ekECiZtSdSsMyeR0MBZonhtU3VstTRcqy8kGtKMDu1cIQCt/Z6kMkOvNsCTFPwMQKAEj XFFA== 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=ACVwf4VM; 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 d36-v6si8435608pla.484.2018.07.06.07.51.26; Fri, 06 Jul 2018 07:51:27 -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=ACVwf4VM; 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 DAE1978B57; Fri, 6 Jul 2018 14:51:21 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by mail.openembedded.org (Postfix) with ESMTP id 90D2478B4F for ; Fri, 6 Jul 2018 14:51:19 +0000 (UTC) Received: by mail-wm0-f65.google.com with SMTP id s14-v6so14766407wmc.1 for ; Fri, 06 Jul 2018 07:51:20 -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=PaQOs+W4YB1WkusaEHkjEUVBGatq3XB99q7RAnMfLGI=; b=ACVwf4VMh93vKthHa5KsYnm4LJmsoNM0kOvjGsQomFYebcqX18EnDRwKyjTLfn5kLW Nquc0f83mRlW8FhgFiZ532iNlQqTLJDPXtlaFB1oGZFNxGs5YJWQevj72oV6765KZ50n N+nxsAIhuIqH4jgKDjGppeACU9Ifl1a/4YBb7uheIi6e2AK9CJzlLZSKTKjAAGs4LdI8 0tOqFmJSOm+dpEA2UeV90sB/jM3by6bStpdmJrh/F4zA2rLc79xjT0JqU+nkVdbllXlv O9SVBiNb/sNsRtueMQayOflUn4FayEz/X9nYA13M6qvehBZY/PO4m6ADZUTDC1Py1JXc tp9g== 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=PaQOs+W4YB1WkusaEHkjEUVBGatq3XB99q7RAnMfLGI=; b=VHgBxL7VFVDPFE1m7TZxGwj+JjDeSFQj875YuDghx++8ly4kyPpUdkdeSm5xWabEFJ Pshyfc127xamYvfurBxiw13F4eWYJj8mfGxUY20Tw5JNzk1bCZmeYcBgPoyMFb6ZlgiN FOtmJs219Cb39KL/dJvQx6yT2GXYhJU15LBrET3MBz1zRemAcYBgBIZLZ0+Y0znTddLB JuCUHVHXbQHFdB6K6fL+vcVkxOIXTlP6HxMQehZlI3p9pTtwBazcjo7espW2d3bE6aF/ 6HX5/6dIVXrnCGE9ayCNzLa9cyECTQShoZP7wFUvDNssI1DH0TAv0RcFexh/uhDMheoD 5yAQ== X-Gm-Message-State: APt69E3wpK3DOquGC3pMwLAa+3zhLLWNfMeNTwvsOLjqWNh6DCVo3yUX D+Ttmty1naj1IyKFOOeeJJ6MBVTK X-Received: by 2002:a1c:a341:: with SMTP id m62-v6mr7621606wme.3.1530888680006; Fri, 06 Jul 2018 07:51:20 -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 72-v6sm3321672wmh.0.2018.07.06.07.51.18 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Jul 2018 07:51:19 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Fri, 6 Jul 2018 15:51:15 +0100 Message-Id: <20180706145116.30481-1-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 Subject: [OE-core] [PATCH 1/2] meson: send user to our wiki instead of Meson bug system 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 If a CPU family isn't recognised the first step should be to verify the mapping. Send the user to a wiki page explaining what to do, instead of directly to the Meson bug tracker. Signed-off-by: Ross Burton --- meta/recipes-devtools/meson/meson/validate-cpu.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.11.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/validate-cpu.patch b/meta/recipes-devtools/meson/meson/validate-cpu.patch index 8bdb204ab04..e7dad00d47c 100644 --- a/meta/recipes-devtools/meson/meson/validate-cpu.patch +++ b/meta/recipes-devtools/meson/meson/validate-cpu.patch @@ -100,7 +100,7 @@ index 091d92dc..67177c1f 100644 if trial not in known_cpu_families: - mlog.warning('Unknown CPU family %s, please report this at https://github.com/mesonbuild/meson/issues/new' % trial) -+ raise EnvironmentException('Unknown CPU family %s, please report this at https://github.com/mesonbuild/meson/issues/new' % trial) ++ raise EnvironmentException('Unknown CPU family %s, see https://wiki.yoctoproject.org/wiki/Meson/UnknownCPU for directions.' % trial) return trial @@ -109,7 +109,7 @@ index 091d92dc..67177c1f 100644 if entry == 'cpu_family' and res not in known_cpu_families: - mlog.warning('Unknown CPU family %s, please report this at https://github.com/mesonbuild/meson/issues/new' % value) -+ raise EnvironmentException('Unknown CPU family %s, please report this at https://github.com/mesonbuild/meson/issues/new' % value) ++ raise EnvironmentException('Unknown CPU family %s, see https://wiki.yoctoproject.org/wiki/Meson/UnknownCPU for directions.' % value) if self.ok_type(res): self.config[s][entry] = res From patchwork Fri Jul 6 14:51:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 141333 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp3203606ljj; Fri, 6 Jul 2018 07:51:52 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfjxQ3K0chY5MX8pXUVR3BSeKbbbHUmAk3daSGUJJzaX/faRX9JzfzuTKzOfIIE3E9t4Z2p X-Received: by 2002:a62:2785:: with SMTP id n127-v6mr10964661pfn.129.1530888711902; Fri, 06 Jul 2018 07:51:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530888711; cv=none; d=google.com; s=arc-20160816; b=I5AUtYJ3jgXnUpkXFOgDOiv9oAm3m8bBqgjKXhoIZD0y8s4cUTtHhkct8tcY9dXxf/ a3iJQT95JiFupDal1Z/fC84GeaoTaF2T2gNYFst11PL9619OV0Vlv0T6ssmpSTt+SKpv nmxADCHNhreosJ8aY+Dw/pMtoHygwsBDux5kxUKrYoUzDvubtCUowRgmkkbAsutbQ2A2 1Ux3AyrEdLARE7eSelU0t+XVq4Hef3cTdEZP4CcKhbXbHA8eTc8gI1UT0UFuA1Fje3sf uL/flAYHXcc0RNILRmDWytn/hC9vLTcz+OPwLS+BOJDRQ+rf2k335q3wQv7LU/y62WGB XV0Q== 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=FoHN7fzU2nBQCZHpSyS2PMAz3MM9+kfLWEFxUFLuSGk=; b=wSU9QeKcG0BHFLPwqsWSVfozmyDtFr9kxEskJMWzTxhvjU8qludG6gamOxsFoJ8Tt5 iHzKC77sP0+bE3oa3rAMGba81AIskxJMqHGmaUKf5UiaG6OcvzgVH99IANkoSBLea38f oeOz120bIpLzSD+Bf8/xP1Lh2BCdDUBqCV5MDbvuMnyIyHHFseDZMVawkz8yuKFor7gn bKXYxwrskDCbVP2+Xis3Nfk9I7KROl7TuN+qGNyTDKRRjnQUlQY/lpiob+0CsbEpLkci MT9lcYJHsaz1WoynAidKjs4e1v7BdscZRYksfWMdIDhGjUMr0UP6QMxOP6DlGaFQXo4s MBnQ== 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=KKC42NGT; 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 m37-v6si8590436plg.491.2018.07.06.07.51.51; Fri, 06 Jul 2018 07:51:51 -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=KKC42NGT; 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 5A76178B5E; Fri, 6 Jul 2018 14:51:49 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by mail.openembedded.org (Postfix) with ESMTP id B0F3978B4F for ; Fri, 6 Jul 2018 14:51:20 +0000 (UTC) Received: by mail-wm0-f65.google.com with SMTP id i139-v6so15076937wmf.4 for ; Fri, 06 Jul 2018 07:51:22 -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:in-reply-to:references; bh=2XO3rlo+ThpRs4U+DW6urtrFRzl1JoVHbPyXLsb09nE=; b=KKC42NGT5+BR06RObqE9zSdfcvWkeKI76Fnx73TQkuWwgrZlR7ouVpV+gsTn4zEPqC tBBDN0CESWahJ0rywGVKBvl/2Xii4/vzUpQV1oY4InschoiEQR8OV7dgaHV4h2MiBksi i+Uz2qufYu52IELjd9aqDH/lS7BWNLwzc9I0CM32gZ6EIRExwoVmYVDa/tNGSASogZSg EnaMTcKiOBl1mQS0fdzvqZpvt3SN7QYV4n37PCmX2ilFvbdfGHAaBMUZnNuWYomV7QPp XCjJQVuySLq3BKANTNUvY2E+xM1i1BtLnh4PP8cvH/7kdEoYFNB4CvJrs5lExmnwwpNy D+tQ== 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:in-reply-to :references; bh=2XO3rlo+ThpRs4U+DW6urtrFRzl1JoVHbPyXLsb09nE=; b=IjfjgDCQaPRnYEyxJooYH/scMuxW+yW2my/NbaSiZkw5daHnt7e0NG8LhL0RC02Fn8 SEOwwq6qGeGLafWkaa1FpDYQbBH6ZDuvwvLxvpGaTN1crU+I80lv6s3DHOSzAL1QS6NA xurVjI5lKZ9SibgtTDLZ0gJEyi4lMd8kVwis94dro+jGsjVTBhNhh7hHrdFd19tEo501 uQlrCm/Qg3wuNeym5VAP4EQswXS60tl7rAy4uQPW8YnJLB/ys0U3FlOhFvKrm3VsTfrT hNrKnAaKVWjRxI+aWr3WCOn1ryibjSauSILEex0IY7OoLGw9RHQMied2RvF5rLUCpn2H DuFA== X-Gm-Message-State: APt69E1R4xqYk/uu1uIolZzSIc1tyUuUqMJu9NSIVFwU09qLj/WPX1rQ 7hI5x70Xx4oUiEKmsuppFXBcef0b X-Received: by 2002:a1c:4d09:: with SMTP id o9-v6mr7469625wmh.111.1530888681321; Fri, 06 Jul 2018 07:51:21 -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 72-v6sm3321672wmh.0.2018.07.06.07.51.20 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Jul 2018 07:51:20 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Fri, 6 Jul 2018 15:51:16 +0100 Message-Id: <20180706145116.30481-2-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180706145116.30481-1-ross.burton@intel.com> References: <20180706145116.30481-1-ross.burton@intel.com> Subject: [OE-core] [PATCH 2/2] meson: map mipsel TARGET_ARCH to mips for the cross file 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 Meson uses 'mips' for both big- and little-endian MIPS machines, so map mipsel to mips. Signed-off-by: Ross Burton --- meta/classes/meson.bbclass | 2 ++ 1 file changed, 2 insertions(+) -- 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 13a6f948756..0c9bf73596a 100644 --- a/meta/classes/meson.bbclass +++ b/meta/classes/meson.bbclass @@ -52,6 +52,8 @@ def meson_cpu_family(var, d): arch = d.getVar(var) if arch == 'powerpc': return 'ppc' + if arch == 'mipsel': + return 'mips' elif re.match(r"i[3-6]86", arch): return "x86" else: