From patchwork Wed Nov 19 15:04:48 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Marko, Peter" X-Patchwork-Id: 74980 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 13005CF34DE for ; Wed, 19 Nov 2025 15:05:58 +0000 (UTC) Received: from mta-65-227.siemens.flowmailer.net (mta-65-227.siemens.flowmailer.net [185.136.65.227]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.9145.1763564756173270234 for ; Wed, 19 Nov 2025 07:05:57 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=peter.marko@siemens.com header.s=fm1 header.b=DhYq6vuO; spf=pass (domain: rts-flowmailer.siemens.com, ip: 185.136.65.227, mailfrom: fm-256628-20251119150554866c5fe65d0002075a-e6z8ng@rts-flowmailer.siemens.com) Received: by mta-65-227.siemens.flowmailer.net with ESMTPSA id 20251119150554866c5fe65d0002075a for ; Wed, 19 Nov 2025 16:05:54 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm1; d=siemens.com; i=peter.marko@siemens.com; h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Cc:References:In-Reply-To; bh=49EzovP6U1bCgmfLi+GB9RZgVCSjMT+fw6jlffmmlNM=; b=DhYq6vuOPWhNw2dZ9AZqKzN8FqpT1Sk75aFn7JjTA+63zUQdGthOC7744d21F3yki8rzHu 485w3svVfBeNX+DlfqOwbt5Y9oKzalNlnvKspDWGJv2FFl3o5uhnFyxynSPZ/om1wjRuVpto i93YnudweqIPlzNniNZ3S6t4+PSWrV4KBWCN0OzELEnl4A6KP+JocEHkwmZpizr1D2b3cJYP dDvp6Mh94H0tx4nat8mDkCvAzyiPf+euJevPH9Pz+ENWg4aLvGPEEFpKYDwCEx1qToCcoz9D NgTrAKxi+vzIQJehBLfcr8gUZC5qRAsch8N5NH8FuqkuEIQrisU8rQaQ==; From: Peter Marko To: yocto-patches@lists.yoctoproject.org Cc: peter.marko@siemens.com, jose.quaresma@foundries.io Subject: [meta-lts-mixins][scarthgap/go][PATCH v2 01/35] Initial commit: add license, readme and layer config Date: Wed, 19 Nov 2025 16:04:48 +0100 Message-Id: <20251119150522.15477-2-peter.marko@siemens.com> In-Reply-To: <20251119150522.15477-1-peter.marko@siemens.com> References: <20251119150522.15477-1-peter.marko@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-256628:519-21489:flowmailer List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 19 Nov 2025 15:05:58 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/2598 From: Peter Marko This is a copy of these files from kirkstone/go branch modified for scarthgap release. Signed-off-by: Peter Marko --- COPYING.MIT | 17 +++++++++++++++++ README | 15 +++++++++++++++ conf/layer.conf | 15 +++++++++++++++ 3 files changed, 47 insertions(+) create mode 100644 COPYING.MIT create mode 100644 README create mode 100644 conf/layer.conf diff --git a/COPYING.MIT b/COPYING.MIT new file mode 100644 index 0000000..fb950dc --- /dev/null +++ b/COPYING.MIT @@ -0,0 +1,17 @@ +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/README b/README new file mode 100644 index 0000000..1aa3809 --- /dev/null +++ b/README @@ -0,0 +1,15 @@ +"Mixin" layer for adding latest Go toolchain versions into the Yocto Project LTS. + +At the time Scarthgap was released in April 2024, Go 1.22 was the latest version +and officially Scarthgap supports only that. This thin special-purpose mixin +layer is meant to address this issue by backporting Go recipes from the master +branch of openembedded-core. + +The patches can be backport from openembedded-core with: + + git -C ../openembedded-core format-patch --stdout -1 origin/master meta/recipes-devtools/go | \ + git am --signoff -p4 --directory=recipes-devtools/go + +Maintainers: +Jose Quaresma +Peter Marko diff --git a/conf/layer.conf b/conf/layer.conf new file mode 100644 index 0000000..41bc938 --- /dev/null +++ b/conf/layer.conf @@ -0,0 +1,15 @@ +# We have a conf and classes directory, append to BBPATH +BBPATH .= ":${LAYERDIR}" + +# We have a recipes directory, add to BBFILES +BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend" + +BBFILE_COLLECTIONS += "lts-go-mixin" +BBFILE_PATTERN_lts-go-mixin := "^${LAYERDIR}/" +BBFILE_PRIORITY_lts-go-mixin = "6" + +LAYERSERIES_COMPAT_lts-go-mixin = "scarthgap" + +LAYERDEPENDS_lts-go-mixin = " \ + core \ +"