From patchwork Mon Feb 16 10:36:22 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quentin Schulz X-Patchwork-Id: 81136 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 6D0D4E7BD98 for ; Mon, 16 Feb 2026 10:36:41 +0000 (UTC) Received: from smtp-8faa.mail.infomaniak.ch (smtp-8faa.mail.infomaniak.ch [83.166.143.170]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.17102.1771238198432031287 for ; Mon, 16 Feb 2026 02:36:39 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@0leil.net header.s=20231125 header.b=Z3HdXhm5; spf=pass (domain: 0leil.net, ip: 83.166.143.170, mailfrom: foss+yocto@0leil.net) Received: from smtp-3-0000.mail.infomaniak.ch (smtp-3-0000.mail.infomaniak.ch [10.4.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4fDzj04XpXzgQx; Mon, 16 Feb 2026 11:36:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=0leil.net; s=20231125; t=1771238196; bh=L6H1tw62hGL2vdwemXZyjMbUMe2jbN/HpT66YshS+1A=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=Z3HdXhm5JZyrVT4J+/OeHJUe6b0RoQW9BdbFJGNNDY0Rf1cr/8lmEa2vbVMN86S9k 6T3XGiUECbA75f9BtDioCJSHOLupMfNehKuijtC3TXWsReuUtxHGnX8tbjS6aHI7NU q3Mkkf51fDjpQ0kKoP/DGDiPR15DsoAHo9yl8C7kkFzls8AFLoFz6A0kr0Ry903JVP dUjFZn/ol3H/q/Sg19pcFn40oEAwixZxZTRwoy45xtW2uSzoOHUJh417UEJbjHOHxW rvEmG7+jsoeQZMAmGshIIXsNzxNVst/uxsyVDmuDgu/ks4vwX239DgK7+zd8ds9mvI secOHZG4k3EHA== Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4fDzj00rcdzPPC; Mon, 16 Feb 2026 11:36:36 +0100 (CET) From: Quentin Schulz Date: Mon, 16 Feb 2026 11:36:22 +0100 Subject: [PATCH v2 1/5] doc: bitbake-user-manual-ref-variables: clarify BBMASK directory matching MIME-Version: 1.0 Message-Id: <20260216-bbmask-slashes-v2-1-b9bb52f5fd3d@cherry.de> References: <20260216-bbmask-slashes-v2-0-b9bb52f5fd3d@cherry.de> In-Reply-To: <20260216-bbmask-slashes-v2-0-b9bb52f5fd3d@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 ; Mon, 16 Feb 2026 10:36:41 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/8919 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 Mon Feb 16 10:36:23 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quentin Schulz X-Patchwork-Id: 81138 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 820CBE7BD9B for ; Mon, 16 Feb 2026 10:36:41 +0000 (UTC) Received: from smtp-8fa8.mail.infomaniak.ch (smtp-8fa8.mail.infomaniak.ch [83.166.143.168]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.17020.1771238198987244200 for ; Mon, 16 Feb 2026 02:36:39 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@0leil.net header.s=20231125 header.b=RBn1/uGd; spf=pass (domain: 0leil.net, ip: 83.166.143.168, mailfrom: foss+yocto@0leil.net) Received: from smtp-3-0000.mail.infomaniak.ch (smtp-3-0000.mail.infomaniak.ch [10.4.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4fDzj12YS2zhFx; Mon, 16 Feb 2026 11:36:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=0leil.net; s=20231125; t=1771238197; bh=WSXc47pUNY65BTpch+5vXCYfACEp0V2Dos511v5FpL0=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=RBn1/uGda30e6NhVh8UcWagX9jX2WumusVq+CA4BaxY4LG6UzeMJRf7yumZsIizux qS70JyPptQd7mf3CE3ebT2K6XlDRa1qhBQQst+S0avJZtHJYfKWoBbT1GnvQb9KocG zW1H2ef/4W2WNjGrTlTuCXxIdhKdJyZsgR7sjTOE3FQVao/Nj5IPenRVgDnKOL0GFF jrW7LBnd5g1QdzMBSQqigeA4le8uRhXIXhTTNfg5rW47vvBo7s1QSWuOKvh7OuWREV fKMNgGT+sXn7GiapHUEat9Wi8Oc3dWNZzWOcTb5yB7FQJjL2CR7OZuOSVG8lyRdTB9 EBJmeiYApeQgQ== Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4fDzj05vQ4zPPF; Mon, 16 Feb 2026 11:36:36 +0100 (CET) From: Quentin Schulz Date: Mon, 16 Feb 2026 11:36:23 +0100 Subject: [PATCH v2 2/5] doc: bitbake-user-manual-ref-variables: have directory examples be consistent MIME-Version: 1.0 Message-Id: <20260216-bbmask-slashes-v2-2-b9bb52f5fd3d@cherry.de> References: <20260216-bbmask-slashes-v2-0-b9bb52f5fd3d@cherry.de> In-Reply-To: <20260216-bbmask-slashes-v2-0-b9bb52f5fd3d@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 ; Mon, 16 Feb 2026 10:36:41 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/8917 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 Mon Feb 16 10:36:24 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quentin Schulz X-Patchwork-Id: 81135 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 51B6EE7BD94 for ; Mon, 16 Feb 2026 10:36:41 +0000 (UTC) Received: from smtp-42a8.mail.infomaniak.ch (smtp-42a8.mail.infomaniak.ch [84.16.66.168]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.17105.1771238199935062142 for ; Mon, 16 Feb 2026 02:36:40 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@0leil.net header.s=20231125 header.b=T8O4HZCi; spf=pass (domain: 0leil.net, ip: 84.16.66.168, mailfrom: foss+yocto@0leil.net) Received: from smtp-3-0000.mail.infomaniak.ch (smtp-3-0000.mail.infomaniak.ch [10.4.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4fDzj209M5zdFR; Mon, 16 Feb 2026 11:36:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=0leil.net; s=20231125; t=1771238197; bh=XRnJdpwjnZIky+4c8P3B3onh0/BvTWIgglpXN2vzRuc=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=T8O4HZCiOkpqNG9zR/+3m9+Xcb7kg78krTDQm1PVndtCSK9pEyWb3btZ9pbr6W8S0 YIjAv0pkCe8IdgUXvL4EAnMRAgyOIu7ouqvx3sxBnPM3vTFOGFCeaY1J4nQTVwNdjw xYR0M9sxCVeX+iNZOmxGoA+mpIrhxT2k/cVXfjZ9Cd1Xluj3VOE5BfPECNEGLbXIjy GSQhuZO15K0Zgg4bqu7Jyw9x7iS1bgfcZlYwT758KnfU/4BN94nJdMinfKnk+VBxin fUc8KdByN/IW8n6rkGYbhWrhRPpWVgeUX0MhiCJ/3orqY/XZCQ7wwjR/dlilxRZAM3 6UIif6cXeripQ== Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4fDzj13CgnzP44; Mon, 16 Feb 2026 11:36:37 +0100 (CET) From: Quentin Schulz Date: Mon, 16 Feb 2026 11:36:24 +0100 Subject: [PATCH v2 3/5] doc: bitbake-user-manual-ref-variables: expand and reorganize BBMASK explanations MIME-Version: 1.0 Message-Id: <20260216-bbmask-slashes-v2-3-b9bb52f5fd3d@cherry.de> References: <20260216-bbmask-slashes-v2-0-b9bb52f5fd3d@cherry.de> In-Reply-To: <20260216-bbmask-slashes-v2-0-b9bb52f5fd3d@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 ; Mon, 16 Feb 2026 10:36:41 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/8920 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 directories, 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 but reiterate what users should be using. Reported-by: Robert P. J. Day Signed-off-by: Quentin Schulz --- .../bitbake-user-manual-ref-variables.rst | 87 +++++++++++++++++++--- 1 file changed, 78 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..06e1112b5 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,93 @@ 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 the ``recipes-graphics/libgal/`` from ``meta-ti``, everything + under ``recipes-support`` in ``meta-oe``, every directory or file whose + name starts with ``openldap`` 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 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 ``/build/layers/``, it'll match:: + + /builds/layers/meta-ti/recipes-graphics/libgal.bb + /builds/layers/meta-ti/recipes-graphics/libgal_%.bbappend + /builds/layers/meta-ti/recipes-graphics/libgal-foo/foo.bb + /builds/layers/meta-ti/recipes-graphics/libgal-foo/foo/bz.bbappend + /builds/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 ``/builds/layers/``):: + + /builds/layers/meta-ti/recipes-graphics/libgal/ + /builds/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 Mon Feb 16 10:36:25 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quentin Schulz X-Patchwork-Id: 81134 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 3682DE7BD8C for ; Mon, 16 Feb 2026 10:36:41 +0000 (UTC) Received: from smtp-190c.mail.infomaniak.ch (smtp-190c.mail.infomaniak.ch [185.125.25.12]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.17022.1771238200324880271 for ; Mon, 16 Feb 2026 02:36:40 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@0leil.net header.s=20231125 header.b=ZF6Qgalj; spf=pass (domain: 0leil.net, ip: 185.125.25.12, mailfrom: foss+yocto@0leil.net) Received: from smtp-3-0000.mail.infomaniak.ch (smtp-3-0000.mail.infomaniak.ch [10.4.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4fDzj2456wzhbP; Mon, 16 Feb 2026 11:36:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=0leil.net; s=20231125; t=1771238198; bh=tufzQQJfZAPgBmUMCYWVrIr9hpp+NlpQyoTN50B4dt8=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=ZF6QgaljMCzvlwf1vY9kewQV2iKl4otg7M1SCtg5eTVNL+f15pyla5w21LotksPlw 0HXNnnfbSov84xna56cQnQoPdK1ml3keN3UH8AQ/OE98uoCUNLIjqQuacthAJytkRX tzl0OaTVqSUwZGp2+HWAcLz0xI26msxqruBSFMrRjlOYkBy9W6rKZdJ/XfQGXu2DIb FqngMl/ZERES/qX5M7+j3waChnvj8Vdpg1Giyk0c/AOW6QiSs+h3hLb/n6OtfYiEjM XK/dCPpi1RqJE+HwY74Gu0nKsuSHiAZ9g3BxOS70hPqC7OOvV3ZQrx5b/bDluu1+ca I61dbt4gQhtbg== Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4fDzj20QMHzPt7; Mon, 16 Feb 2026 11:36:38 +0100 (CET) From: Quentin Schulz Date: Mon, 16 Feb 2026 11:36:25 +0100 Subject: [PATCH v2 4/5] doc: bitbake-user-manual-ref-variables: update BBMASK example with current meta-ti MIME-Version: 1.0 Message-Id: <20260216-bbmask-slashes-v2-4-b9bb52f5fd3d@cherry.de> References: <20260216-bbmask-slashes-v2-0-b9bb52f5fd3d@cherry.de> In-Reply-To: <20260216-bbmask-slashes-v2-0-b9bb52f5fd3d@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 ; Mon, 16 Feb 2026 10:36:41 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/8921 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 | 32 +++++++++++----------- 1 file changed, 16 insertions(+), 16 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 06e1112b5..9daf8223d 100644 --- a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst +++ b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst @@ -1052,25 +1052,25 @@ 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 the ``recipes-graphics/libgal/`` from ``meta-ti``, everything + This masks the ``recipes-graphics/libgal/`` from ``meta-ti-bsp``, everything under ``recipes-support`` in ``meta-oe``, every directory or file whose name starts with ``openldap`` 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 in ``meta-ti`` at any directory depth > 1 (e.g. + file in ``meta-ti-bsp`` at any directory depth > 1 (e.g. ``optee/optee-examples_%.bbappend`` and ``recipes-security/optee/optee-client_%.bbappend``). @@ -1080,24 +1080,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 ``/build/layers/``, it'll match:: - /builds/layers/meta-ti/recipes-graphics/libgal.bb - /builds/layers/meta-ti/recipes-graphics/libgal_%.bbappend - /builds/layers/meta-ti/recipes-graphics/libgal-foo/foo.bb - /builds/layers/meta-ti/recipes-graphics/libgal-foo/foo/bz.bbappend - /builds/layers/meta-ti/recipes-graphics/libgal/bar.bb + /builds/layers/meta-ti/meta-ti-bsp/recipes-graphics/libgal.bb + /builds/layers/meta-ti/meta-ti-bsp/recipes-graphics/libgal_%.bbappend + /builds/layers/meta-ti/meta-ti-bsp/recipes-graphics/libgal-foo/foo.bb + /builds/layers/meta-ti/meta-ti-bsp/recipes-graphics/libgal-foo/foo/bz.bbappend + /builds/layers/meta-ti/meta-ti-bsp/recipes-graphics/libgal/bar.bb .. note:: @@ -1112,7 +1112,7 @@ overview of their function and contents. ``recipes-graphics/libgal/``, meaning (considering your layers are available at ``/builds/layers/``):: - /builds/layers/meta-ti/recipes-graphics/libgal/ + /builds/layers/meta-ti/meta-ti-bsp/recipes-graphics/libgal/ /builds/layers/my-layer/foo-recipes-graphics/libgal/ will be both matched. This may be a more relaxed way of matching From patchwork Mon Feb 16 10:36:26 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Quentin Schulz X-Patchwork-Id: 81137 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 9E816E7BD9F for ; Mon, 16 Feb 2026 10:36:41 +0000 (UTC) Received: from smtp-42ac.mail.infomaniak.ch (smtp-42ac.mail.infomaniak.ch [84.16.66.172]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.17024.1771238200900755745 for ; Mon, 16 Feb 2026 02:36:41 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@0leil.net header.s=20231125 header.b=c1Somcs0; spf=pass (domain: 0leil.net, ip: 84.16.66.172, mailfrom: foss+yocto@0leil.net) Received: from smtp-3-0000.mail.infomaniak.ch (unknown [IPv6:2001:1600:4:17::246b]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4fDzj315lTzfSC; Mon, 16 Feb 2026 11:36:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=0leil.net; s=20231125; t=1771238199; bh=apND0+S+5XM7X+UhcoPP+qJfPL2cgC1CLIuB/PE/6bc=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=c1Somcs0YXVmdmizigIfonfFlfRn+sxo0oZ8bjeM6kMAI/8EejdP1uW0SAo1NRRgM oqMAPUIvrbo0Wy5aAqqHRBCA/B+Stz2mxtRfm9JaSapggYzlGtAo+18w0ozd5gjdHs blFKN3CyVZ7EVG3jpaqaUmforLnCQzhOO3QEqbwSdqq00MkuP9xqPIq201RcWS80AB g79Moxkrtu33Vi6TLW5CB4uxqqoO+RsJ6pmOnCUpfm95OhbfIXAeeK+A3oFAwLOaX0 V+cy+0Ttm+yG7+6nPvj1Egs1yiUjfvnyU+qo44SANdcYwAK7JJQtOVs1afhcaIVhSv Jn89AxAX4L29Q== Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4fDzj24XmFzN7t; Mon, 16 Feb 2026 11:36:38 +0100 (CET) From: Quentin Schulz Date: Mon, 16 Feb 2026 11:36:26 +0100 Subject: [PATCH v2 5/5] doc: bitbake-user-manual-ref-variables: update Python re doc link to HTTPS MIME-Version: 1.0 Message-Id: <20260216-bbmask-slashes-v2-5-b9bb52f5fd3d@cherry.de> References: <20260216-bbmask-slashes-v2-0-b9bb52f5fd3d@cherry.de> In-Reply-To: <20260216-bbmask-slashes-v2-0-b9bb52f5fd3d@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 ; Mon, 16 Feb 2026 10:36:41 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/8922 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 9daf8223d..e424bd040 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