From patchwork Tue Feb 17 13:36:27 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quentin Schulz X-Patchwork-Id: 81217 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 EBBB2E909B4 for ; Tue, 17 Feb 2026 13:36:46 +0000 (UTC) Received: from smtp-8fab.mail.infomaniak.ch (smtp-8fab.mail.infomaniak.ch [83.166.143.171]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.11925.1771335398322802851 for ; Tue, 17 Feb 2026 05:36:40 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@0leil.net header.s=20231125 header.b=gI+vsom+; spf=pass (domain: 0leil.net, ip: 83.166.143.171, mailfrom: foss+yocto@0leil.net) Received: from smtp-4-0001.mail.infomaniak.ch (smtp-4-0001.mail.infomaniak.ch [10.7.10.108]) by smtp-4-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4fFgfD583Bz1Gy; Tue, 17 Feb 2026 14:36:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=0leil.net; s=20231125; t=1771335396; bh=L6H1tw62hGL2vdwemXZyjMbUMe2jbN/HpT66YshS+1A=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=gI+vsom++i7iYoP/ejLTqjxDN0C76RQV74uqBMV6pnuOsIsn9rKJktdvSF4f8ZBIQ sxBsgQAgX5/fPjTww79FDn/zjdRrynXWRYBiN8fvI1WVLjdC+73kWMMleutjY0jHKt zDJRwi+e0m/iPbE7lwOO2hNXkoA8LYyIRgoooLBQcM7PQcTNxlMWqpKIxh+aieUJm7 X10WYWAt61apO+gtjq1upt0FUKjK9xfvxh1MmMyKK/4mTfh266plcXgZ2u9pJYYkSa fOFOEobhldJLg/fPyKcH7TIDzmGv8nZJ9zJFVn4Yl4546uGw2lf6huIdQRCPaZZjUr ums6YnvI60Ncg== Received: from unknown by smtp-4-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4fFgfD1tGMzXMP; Tue, 17 Feb 2026 14:36:36 +0100 (CET) From: Quentin Schulz Date: Tue, 17 Feb 2026 14:36:27 +0100 Subject: [PATCH v3 1/5] doc: bitbake-user-manual-ref-variables: clarify BBMASK directory matching MIME-Version: 1.0 Message-Id: <20260217-bbmask-slashes-v3-1-6a02cde9fdab@cherry.de> References: <20260217-bbmask-slashes-v3-0-6a02cde9fdab@cherry.de> In-Reply-To: <20260217-bbmask-slashes-v3-0-6a02cde9fdab@cherry.de> To: bitbake-devel@lists.openembedded.org Cc: "Robert P. J. Day" , docs@lists.yoctoproject.org, Quentin Schulz X-Mailer: b4 0.15-dev-47773 X-Infomaniak-Routing: alpha 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 ; Tue, 17 Feb 2026 13:36:46 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/bitbake-devel/message/19050 From: Quentin Schulz BBMASK matches files in the directories matching the regex, and also in their respective subdirectories, so make that clear in the wording leading to the example. Signed-off-by: Quentin Schulz --- doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst index 4b3b10d46..18bbd638d 100644 --- a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst +++ b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst @@ -1051,8 +1051,8 @@ overview of their function and contents. documentation at http://docs.python.org/3/library/re.html. The following example uses a complete regular expression to tell - BitBake to ignore all recipe and recipe append files in the - ``meta-ti/recipes-misc/`` directory:: + BitBake to ignore all recipe and recipe append files in + ``meta-ti/recipes-misc/`` directories (and their subdirectories):: BBMASK = "meta-ti/recipes-misc/" From patchwork Tue Feb 17 13:36:28 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quentin Schulz X-Patchwork-Id: 81214 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 BAF9AE909AE for ; Tue, 17 Feb 2026 13:36:46 +0000 (UTC) Received: from smtp-bc0f.mail.infomaniak.ch (smtp-bc0f.mail.infomaniak.ch [45.157.188.15]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.11926.1771335398742428144 for ; Tue, 17 Feb 2026 05:36:40 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@0leil.net header.s=20231125 header.b=kUiXEaD3; spf=pass (domain: 0leil.net, ip: 45.157.188.15, mailfrom: foss+yocto@0leil.net) Received: from smtp-4-0001.mail.infomaniak.ch (smtp-4-0001.mail.infomaniak.ch [10.7.10.108]) by smtp-4-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4fFgfF0yfszl3; Tue, 17 Feb 2026 14:36:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=0leil.net; s=20231125; t=1771335397; bh=WSXc47pUNY65BTpch+5vXCYfACEp0V2Dos511v5FpL0=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=kUiXEaD3GAeiJ7fv0Zd53+QMLZjzxByjP20tt2hEw9d6nZKQ+VUUpXJrqoy8Zle+S 0ZuX7i36l+jgg+KBbSKZNQ14utW68/j4mL6VntiocfCFQbNxnkU+S4VGBwbPh9+E/S nJoexkSQ+xWjrxCTi9wbDqtpXQoO8/WUgiJgcM9x4GlJhilxtlXGMNp2po14w6YHd2 AOXVPjQn1/O+fLKiuORECwR2FS6vbdgtxaPPY1YbhhzOEwolnAekVH/M0zHMTkd70v zvMBloXdvVFH4ehGE3oDoBW0TFgX1rhdNk6r1td0y5FAsYIR7UxGJcEr0ctSk/gxD/ jJxD+hEPaOJfw== Received: from unknown by smtp-4-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4fFgfD51Y5zXc1; Tue, 17 Feb 2026 14:36:36 +0100 (CET) From: Quentin Schulz Date: Tue, 17 Feb 2026 14:36:28 +0100 Subject: [PATCH v3 2/5] doc: bitbake-user-manual-ref-variables: have directory examples be consistent MIME-Version: 1.0 Message-Id: <20260217-bbmask-slashes-v3-2-6a02cde9fdab@cherry.de> References: <20260217-bbmask-slashes-v3-0-6a02cde9fdab@cherry.de> In-Reply-To: <20260217-bbmask-slashes-v3-0-6a02cde9fdab@cherry.de> To: bitbake-devel@lists.openembedded.org Cc: "Robert P. J. Day" , docs@lists.yoctoproject.org, Quentin Schulz X-Mailer: b4 0.15-dev-47773 X-Infomaniak-Routing: alpha 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 ; Tue, 17 Feb 2026 13:36:46 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/bitbake-devel/message/19053 From: Quentin Schulz It's a bit confusing to have a mix of paths with and without a leading slash. The behavior is actually different. The next commit will explain when/why to add a leading slash. Reported-by: Robert P. J. Day Signed-off-by: Quentin Schulz --- doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst index 18bbd638d..f20a9012c 100644 --- a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst +++ b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst @@ -1054,13 +1054,13 @@ overview of their function and contents. BitBake to ignore all recipe and recipe append files in ``meta-ti/recipes-misc/`` directories (and their subdirectories):: - BBMASK = "meta-ti/recipes-misc/" + BBMASK = "/meta-ti/recipes-misc/" If you want to mask out multiple directories or recipes, you can specify multiple regular expression fragments. This next example masks out multiple directories and individual recipes:: - BBMASK += "/meta-ti/recipes-misc/ meta-ti/recipes-ti/packagegroup/" + BBMASK += "/meta-ti/recipes-ti/packagegroup/" BBMASK += "/meta-oe/recipes-support/" BBMASK += "/meta-foo/.*/openldap" BBMASK += "opencv.*\.bbappend" From patchwork Tue Feb 17 13:36:29 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quentin Schulz X-Patchwork-Id: 81215 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 C760CE909B1 for ; Tue, 17 Feb 2026 13:36:46 +0000 (UTC) Received: from smtp-8fab.mail.infomaniak.ch (smtp-8fab.mail.infomaniak.ch [83.166.143.171]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.11927.1771335399128878806 for ; Tue, 17 Feb 2026 05:36:40 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@0leil.net header.s=20231125 header.b=li/Csh63; spf=pass (domain: 0leil.net, ip: 83.166.143.171, mailfrom: foss+yocto@0leil.net) Received: from smtp-4-0001.mail.infomaniak.ch (unknown [IPv6:2001:1600:7:10::a6c]) by smtp-4-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4fFgfF3n5vznH; Tue, 17 Feb 2026 14:36:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=0leil.net; s=20231125; t=1771335397; bh=id8SiOAGFjGWBmcLsTtJLidAqXNzNFdf/q+9CyPmELI=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=li/Csh63CTbkfsyIq4Tow3pcg0shfzg4j4pvqj/FQdmGN+aDnX+RWmWgZ9Wc8K8V5 gXU42m5fry/uhX2bzJzAeSbO7GccJpLVnL8syTE+KxmwqApPxIbMdYV4lR8fa/nf7H mbcpWVzv136DPqBZOPMqrmPJJVHukLNQ5Iggf6EWoaNAR82XkrbMIlvTdsOP27ukHP ryHsVwDoE1zhTnk0SpHT7mi2/1cp3UqNT/D+Io9W6q79dCHOiOk3DMRcGzvF3SvPlE pGt62GfbzTJIAzqdh51oaAyyTgjFh89oE1dNSySFH/wo+zp/mmsf41PsODj3gCyIBl ihScXttYUa5AA== Received: from unknown by smtp-4-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4fFgfF0s8XzZMC; Tue, 17 Feb 2026 14:36:37 +0100 (CET) From: Quentin Schulz Date: Tue, 17 Feb 2026 14:36:29 +0100 Subject: [PATCH v3 3/5] doc: bitbake-user-manual-ref-variables: expand and reorganize BBMASK explanations MIME-Version: 1.0 Message-Id: <20260217-bbmask-slashes-v3-3-6a02cde9fdab@cherry.de> References: <20260217-bbmask-slashes-v3-0-6a02cde9fdab@cherry.de> In-Reply-To: <20260217-bbmask-slashes-v3-0-6a02cde9fdab@cherry.de> To: bitbake-devel@lists.openembedded.org Cc: "Robert P. J. Day" , docs@lists.yoctoproject.org, Quentin Schulz X-Mailer: b4 0.15-dev-47773 X-Infomaniak-Routing: alpha 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 ; Tue, 17 Feb 2026 13:36:46 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/bitbake-devel/message/19052 From: Quentin Schulz The documentation doesn't explain the side-effect of putting a leading slash, only the trailing slash. The leading slash is not for making the regular expression match an absolute path, but to force the match on the directory or file that exactly starts (and ends if there is a trailing slash) with the specified string. So let's explain that. This also explains that this doesn't prevent more than the intended path to be caught, specifically because it is NOT a regular expression matching an absolute path. Because any pattern not starting with a ^ character can match multiple directories from multiple layers, let's make the usage of BBFILE_PATTERN_my-layer the recommended one. Keep the rest as hints at what can happen when not using the variable but reiterate that users should be really be using that variable. Reported-by: Robert P. J. Day Signed-off-by: Quentin Schulz --- .../bitbake-user-manual-ref-variables.rst | 91 +++++++++++++++++++--- 1 file changed, 82 insertions(+), 9 deletions(-) diff --git a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst index f20a9012c..2564a21a0 100644 --- a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst +++ b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst @@ -1052,24 +1052,97 @@ overview of their function and contents. The following example uses a complete regular expression to tell BitBake to ignore all recipe and recipe append files in - ``meta-ti/recipes-misc/`` directories (and their subdirectories):: + ``recipes-bsp`` directory (recursively) of ``meta-ti``:: - BBMASK = "/meta-ti/recipes-misc/" + BBMASK = "${BBFILE_PATTERN_meta-ti}/recipes-bsp/" If you want to mask out multiple directories or recipes, you can specify multiple regular expression fragments. This next example masks out multiple directories and individual recipes:: - BBMASK += "/meta-ti/recipes-ti/packagegroup/" - BBMASK += "/meta-oe/recipes-support/" - BBMASK += "/meta-foo/.*/openldap" - BBMASK += "opencv.*\.bbappend" - BBMASK += "lzma" + BBMASK += "${BBFILE_PATTERN_meta-ti}/recipes-graphics/libgal/" + BBMASK += "${BBFILE_PATTERN_openembedded-layer}/recipes-support/" + BBMASK += "${BBFILE_PATTERN_openembedded-layer}/.*/openldap" + BBMASK += "${BBFILE_PATTERN_meta-ti}/.*/optee.*\.bbappend" + + This masks: + + - everything under the ``recipes-graphics/libgal/`` directory from + ``meta-ti``, + - everything under the ``recipes-support/`` directory in ``meta-oe``, + - everything under a directory whose name starts with ``openldap``, and + every file with the same naming scheme, in ``meta-oe`` at any directory + depth > 1 (e.g. in ``meta-oe``, ``recipes-foo/openldap-stuff/`` or + ``recipes-bar/baz/openldap_0.1.bb`` but not ``openldap/``), + - every append file whose name starts with ``optee`` in ``meta-ti`` at any + directory depth > 1 (e.g. ``optee/optee-examples_%.bbappend`` and + ``recipes-security/optee/optee-client_%.bbappend``). .. note:: - When specifying a directory name, use the trailing slash character - to ensure you match just that directory name. + Because these are complete regular expressions, if you want to match a + directory and not a file, you must end the expression with a trailing + slash. That is:: + + BBMASK += "${BBFILE_PATTERN_meta-ti}/recipes-graphics/libgal/" + + Will match anything under ``recipes-graphics/ligbal/`` directory of + ``meta-ti``. And:: + + BBMASK += "${BBFILE_PATTERN_meta-ti}/recipes-graphics/libgal" + + Will match in ``meta-ti`` any file prefixed with ``libgal`` in + ``recipes-graphics/`` and any directory (recursively; and its + recipes and recipe append files regardless how they are named) prefixed + with ``libgal`` in ``recipes-graphics/``. That is, provided your layers + are available at ``/bitbake-builds/poky-master/layers/``, it'll match:: + + /bitbake-builds/poky-master/layers/meta-ti/recipes-graphics/libgal.bb + /bitbake-builds/poky-master/layers/meta-ti/recipes-graphics/libgal_%.bbappend + /bitbake-builds/poky-master/layers/meta-ti/recipes-graphics/libgal-foo/foo.bb + /bitbake-builds/poky-master/layers/meta-ti/recipes-graphics/libgal-foo/foo/bz.bbappend + /bitbake-builds/poky-master/layers/meta-ti/recipes-graphics/libgal/bar.bb + + .. note:: + + Because these are complete regular expressions, failing to start the + pattern with a ``^`` sign (which is usually the first character in + :term:`BBFILE_PATTERN`) means it can match *any* portion of a path. + Take the following as an example:: + + BBMASK = "recipes-graphics/libgal/" + + This will match subdirectories and files in any path containing + ``recipes-graphics/libgal/``, meaning (considering your layers are + available at ``/bitbake-builds/poky-master/layers/``):: + + /bitbake-builds/poky-master/layers/meta-ti/recipes-graphics/libgal/ + /bitbake-builds/poky-master/layers/my-layer/foo-recipes-graphics/libgal/ + + will be both matched. This may be a more relaxed way of matching + directories, recipes and recipe append files from any third party layer + but is generally discouraged as it may be casting too wide of a net. + + .. note:: + + Because these are complete regular expressions, a leading slash does + not mean the path is absolute. It simply forces the directory to be + named exactly that. Take:: + + BBMASK = "recipes-graphics/libgal/" + + If you happen to have a directory ``foo-recipes-graphics/libgal/``, it + will be matched. + + Leading with a slash:: + + BBMASK = "/recipes-graphics/libgal/" + + makes sure that doesn't happen. However, this doesn't prevent matching + a directory ``recipes-graphics/libgal/`` from another layer. + + Again, we highly recommend using :term:`BBFILE_PATTERN` in the + expressions to specify absolute paths specific to one layer. :term:`BBMULTICONFIG` Enables BitBake to perform multiple configuration builds and lists From patchwork Tue Feb 17 13:36:30 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quentin Schulz X-Patchwork-Id: 81216 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 CE368E909AF for ; Tue, 17 Feb 2026 13:36:46 +0000 (UTC) Received: from smtp-42ad.mail.infomaniak.ch (smtp-42ad.mail.infomaniak.ch [84.16.66.173]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.11929.1771335399576646130 for ; Tue, 17 Feb 2026 05:36:40 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@0leil.net header.s=20231125 header.b=jUvGvAwR; spf=pass (domain: 0leil.net, ip: 84.16.66.173, mailfrom: foss+yocto@0leil.net) Received: from smtp-4-0001.mail.infomaniak.ch (smtp-4-0001.mail.infomaniak.ch [10.7.10.108]) by smtp-4-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4fFgfF6vpXzbW; Tue, 17 Feb 2026 14:36:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=0leil.net; s=20231125; t=1771335397; bh=ojPXlupufFwg1IqvPPEU1fP2ILHsAWs6J+D+sG74MR0=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=jUvGvAwRLys4wmsTpnWjYdKqVrBTP3Gy5K7Z8RvZWHtfie7kbcz9trKUQSQuu14Vr ZICkawas0wAd0RxKCn5CKt+hQBQrfqjk7GaXsEDujz94gjJlbKWbIS20fsYGzXmTOy rj/a2OJiBa5CTFsrQ6CK4KwoOJcTRUQNUA4qzr8kh36Xko0Pk7PuDd78ZKbzS2uCin YmOTXjIZ/TmXzxjJqgrDXuLAdwuIf9B+enuIKAg8fiwHEzXiu6Qswa1qbdVzSgVtFN G7wTR2dxNe6Z/TjDYvZizR4w5atph5AywUQ4O4Ug46uu1AagOOqrU62mG+C5j2Nj3h 9CTSmhSp+dPSA== Received: from unknown by smtp-4-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4fFgfF3j7PzZXt; Tue, 17 Feb 2026 14:36:37 +0100 (CET) From: Quentin Schulz Date: Tue, 17 Feb 2026 14:36:30 +0100 Subject: [PATCH v3 4/5] doc: bitbake-user-manual-ref-variables: update BBMASK example with current meta-ti MIME-Version: 1.0 Message-Id: <20260217-bbmask-slashes-v3-4-6a02cde9fdab@cherry.de> References: <20260217-bbmask-slashes-v3-0-6a02cde9fdab@cherry.de> In-Reply-To: <20260217-bbmask-slashes-v3-0-6a02cde9fdab@cherry.de> To: bitbake-devel@lists.openembedded.org Cc: "Robert P. J. Day" , docs@lists.yoctoproject.org, Quentin Schulz X-Mailer: b4 0.15-dev-47773 X-Infomaniak-Routing: alpha 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 ; Tue, 17 Feb 2026 13:36:46 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/bitbake-devel/message/19051 From: Quentin Schulz meta-ti git repo now has multiple layers in it since kirkstone, so let's update the examples to match the current state of meta-ti by using meta-ti-bsp. Signed-off-by: Quentin Schulz --- .../bitbake-user-manual-ref-variables.rst | 34 +++++++++++----------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst index 2564a21a0..bab5252e9 100644 --- a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst +++ b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst @@ -1052,30 +1052,30 @@ overview of their function and contents. The following example uses a complete regular expression to tell BitBake to ignore all recipe and recipe append files in - ``recipes-bsp`` directory (recursively) of ``meta-ti``:: + ``recipes-bsp`` directory (recursively) of ``meta-ti-bsp``:: - BBMASK = "${BBFILE_PATTERN_meta-ti}/recipes-bsp/" + BBMASK = "${BBFILE_PATTERN_meta-ti-bsp}/recipes-bsp/" If you want to mask out multiple directories or recipes, you can specify multiple regular expression fragments. This next example masks out multiple directories and individual recipes:: - BBMASK += "${BBFILE_PATTERN_meta-ti}/recipes-graphics/libgal/" + BBMASK += "${BBFILE_PATTERN_meta-ti-bsp}/recipes-graphics/libgal/" BBMASK += "${BBFILE_PATTERN_openembedded-layer}/recipes-support/" BBMASK += "${BBFILE_PATTERN_openembedded-layer}/.*/openldap" - BBMASK += "${BBFILE_PATTERN_meta-ti}/.*/optee.*\.bbappend" + BBMASK += "${BBFILE_PATTERN_meta-ti-bsp}/.*/optee.*\.bbappend" This masks: - everything under the ``recipes-graphics/libgal/`` directory from - ``meta-ti``, + ``meta-ti-bsp``, - everything under the ``recipes-support/`` directory in ``meta-oe``, - everything under a directory whose name starts with ``openldap``, and every file with the same naming scheme, in ``meta-oe`` at any directory depth > 1 (e.g. in ``meta-oe``, ``recipes-foo/openldap-stuff/`` or ``recipes-bar/baz/openldap_0.1.bb`` but not ``openldap/``), - - every append file whose name starts with ``optee`` in ``meta-ti`` at any - directory depth > 1 (e.g. ``optee/optee-examples_%.bbappend`` and + - every append file whose name starts with ``optee`` in ``meta-ti-bsp`` at + any directory depth > 1 (e.g. ``optee/optee-examples_%.bbappend`` and ``recipes-security/optee/optee-client_%.bbappend``). .. note:: @@ -1084,24 +1084,24 @@ overview of their function and contents. directory and not a file, you must end the expression with a trailing slash. That is:: - BBMASK += "${BBFILE_PATTERN_meta-ti}/recipes-graphics/libgal/" + BBMASK += "${BBFILE_PATTERN_meta-ti-bsp}/recipes-graphics/libgal/" Will match anything under ``recipes-graphics/ligbal/`` directory of - ``meta-ti``. And:: + ``meta-ti-bsp``. And:: - BBMASK += "${BBFILE_PATTERN_meta-ti}/recipes-graphics/libgal" + BBMASK += "${BBFILE_PATTERN_meta-ti-bsp}/recipes-graphics/libgal" - Will match in ``meta-ti`` any file prefixed with ``libgal`` in + Will match in ``meta-ti-bsp`` any file prefixed with ``libgal`` in ``recipes-graphics/`` and any directory (recursively; and its recipes and recipe append files regardless how they are named) prefixed with ``libgal`` in ``recipes-graphics/``. That is, provided your layers are available at ``/bitbake-builds/poky-master/layers/``, it'll match:: - /bitbake-builds/poky-master/layers/meta-ti/recipes-graphics/libgal.bb - /bitbake-builds/poky-master/layers/meta-ti/recipes-graphics/libgal_%.bbappend - /bitbake-builds/poky-master/layers/meta-ti/recipes-graphics/libgal-foo/foo.bb - /bitbake-builds/poky-master/layers/meta-ti/recipes-graphics/libgal-foo/foo/bz.bbappend - /bitbake-builds/poky-master/layers/meta-ti/recipes-graphics/libgal/bar.bb + /bitbake-builds/poky-master/layers/meta-ti/meta-ti-bsp/recipes-graphics/libgal.bb + /bitbake-builds/poky-master/layers/meta-ti/meta-ti-bsp/recipes-graphics/libgal_%.bbappend + /bitbake-builds/poky-master/layers/meta-ti/meta-ti-bsp/recipes-graphics/libgal-foo/foo.bb + /bitbake-builds/poky-master/layers/meta-ti/meta-ti-bsp/recipes-graphics/libgal-foo/foo/bz.bbappend + /bitbake-builds/poky-master/layers/meta-ti/meta-ti-bsp/recipes-graphics/libgal/bar.bb .. note:: @@ -1116,7 +1116,7 @@ overview of their function and contents. ``recipes-graphics/libgal/``, meaning (considering your layers are available at ``/bitbake-builds/poky-master/layers/``):: - /bitbake-builds/poky-master/layers/meta-ti/recipes-graphics/libgal/ + /bitbake-builds/poky-master/layers/meta-ti/meta-ti-bsp/recipes-graphics/libgal/ /bitbake-builds/poky-master/layers/my-layer/foo-recipes-graphics/libgal/ will be both matched. This may be a more relaxed way of matching From patchwork Tue Feb 17 13:36:31 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quentin Schulz X-Patchwork-Id: 81213 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 7D800EF99FF for ; Tue, 17 Feb 2026 13:36:46 +0000 (UTC) Received: from smtp-42a9.mail.infomaniak.ch (smtp-42a9.mail.infomaniak.ch [84.16.66.169]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.12074.1771335399959916024 for ; Tue, 17 Feb 2026 05:36:40 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@0leil.net header.s=20231125 header.b=H1UUHtmM; spf=pass (domain: 0leil.net, ip: 84.16.66.169, mailfrom: foss+yocto@0leil.net) Received: from smtp-4-0001.mail.infomaniak.ch (unknown [IPv6:2001:1600:7:10::a6c]) by smtp-4-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4fFgfG2cPXz1vB; Tue, 17 Feb 2026 14:36:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=0leil.net; s=20231125; t=1771335398; bh=aJhl7mgjFeHegk2ATcON7KtZAcTsFxsKQP3zYpmWyyQ=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=H1UUHtmMz8cBicm1aJGH2LOKzKrjxPFM/ANXyJxyFQEjEoKoISKkcyWleSkbrSmH5 Q1ZLyRxcOy8PYBKR9xTBFERCjX28xs2D42EuoV81+sOc86BxGhgO8HnyUpmJLtnse3 7DXdltkS+XaebGaOs5XrZ/VSwH+ORqLQIHbzrHmpLRcmA5C4CeVmUUVDvxNB/52cCc zNTyve6n87br+/lRHObmb+Wj+06YxYBJQm2sNdqL8uWIkzJbEEEacz/HBqBhOrx940 3E9QJEUKb9igvbdS7oSV9S7PBRWYj9NwjJcHiB2uGXSXuckJ6FGOPBFD2P5BRZG5Jb s8WQca0VX7tQw== Received: from unknown by smtp-4-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4fFgfF6pr7zWsf; Tue, 17 Feb 2026 14:36:37 +0100 (CET) From: Quentin Schulz Date: Tue, 17 Feb 2026 14:36:31 +0100 Subject: [PATCH v3 5/5] doc: bitbake-user-manual-ref-variables: update Python re doc link to HTTPS MIME-Version: 1.0 Message-Id: <20260217-bbmask-slashes-v3-5-6a02cde9fdab@cherry.de> References: <20260217-bbmask-slashes-v3-0-6a02cde9fdab@cherry.de> In-Reply-To: <20260217-bbmask-slashes-v3-0-6a02cde9fdab@cherry.de> To: bitbake-devel@lists.openembedded.org Cc: "Robert P. J. Day" , docs@lists.yoctoproject.org, Quentin Schulz X-Mailer: b4 0.15-dev-47773 X-Infomaniak-Routing: alpha 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 ; Tue, 17 Feb 2026 13:36:46 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/bitbake-devel/message/19055 From: Quentin Schulz It's 2026, use HTTPS for the link. Signed-off-by: Quentin Schulz --- doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst index bab5252e9..d867f74ec 100644 --- a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst +++ b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst @@ -1048,7 +1048,7 @@ overview of their function and contents. compiler. Consequently, the syntax follows Python's Regular Expression (re) syntax. The expressions are compared against the full paths to the files. For complete syntax information, see Python's - documentation at http://docs.python.org/3/library/re.html. + documentation at https://docs.python.org/3/library/re.html. The following example uses a complete regular expression to tell BitBake to ignore all recipe and recipe append files in