From patchwork Wed Dec 2 14:25:08 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 106993 Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.37222.1796221531649860236 for ; Wed, 02 Dec 2026 06:25:31 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=dkim header.b=wW9OKog1; spf=pass (domain: bootlin.com, ip: 185.246.85.4, mailfrom: antonin.godard@bootlin.com) Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id EDE634E41845 for ; Wed, 2 Dec 2026 14:25:29 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id C2A506075F; Wed, 2 Dec 2026 14:25:29 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 19DFD11EA18CB; Wed, 02 Dec 2026 15:25:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1796221529; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=YPPsFKwTiJm3jveJ/FmtivOFrD9XlOI8euAGJyH4Y+I=; b=wW9OKog1+lWpfRRBse4uJHQGfpFztZImLhL4JWvuWwV+ru2ezMKb7zAsPU9/DtEygoRgHn cBghwuvBAujEFNruE4kfkIuLIjEhSVHv1QWHniAbihmd1hIUVCC14+LGUy6RNa3DOUF73Y K7AgUF2TplSyQr7LX+zDWnzHLxtxaof9LFn+4gx/amdr2Tz0H84c/wcfGQHMlxq3RWNVyw C7hRcUVvL7dHiGDD/FuMk2++3uPVDFlantZvjtUD/1isRI/7vTmQuGYpvTeLab5PCK+/9i oZyks1nAd3YI9hBPhneo6TrhuXif/cUx8JU32P2elsBkK8ftnnlb/mZVBc4sYg== From: Antonin Godard Date: Wed, 02 Dec 2026 15:25:08 +0100 Subject: [PATCH 5/9] doc/bitbake-user-manual-ref-variables: drop documentation for BBFILES_DYNAMIC MIME-Version: 1.0 Message-Id: <20261202-layer-conf-doc-changes-v1-5-266a5f5d51ad@bootlin.com> References: <20261202-layer-conf-doc-changes-v1-0-266a5f5d51ad@bootlin.com> In-Reply-To: <20261202-layer-conf-doc-changes-v1-0-266a5f5d51ad@bootlin.com> To: bitbake-devel@lists.openembedded.org Cc: Thomas Petazzoni , docs@lists.yoctoproject.org, Antonin Godard X-Mailer: b4 0.17-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=2781; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=dDBS2m27BN+MeETwf0EUdtW3n0fNji1wXmXab43Es98=; b=owEBbQKS/ZANAwAKAdGAQUApo6g2AcsmYgBrECpKXGCXGYdhKcQomT5wDkbarrPk76trOFTe/ +hjnuivYSKJAjMEAAEKAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCaxAqSgAKCRDRgEFAKaOo NkFuEACkdI6tx1b6JfYVA2qvMFM4FCMk4JoUO0wBFLQ18NTaG9UIG+E7z7Dcsn4D35Lsu7IygMo KdeFDnXLLGOJTXlTELubciP03sRDeawE8CmJ8flYnF8Y15OGjU9u0ocxyDPHZxL6r1O7xQywMQ8 9Wxpt90Hk5Bn/shHkKrhyVSEi2HBR5/6ukcW5a3KkVpX2zdTx47ZxlUkv9ESW+f1kuKFy3aetbh eZi2SRIvZE5Z9RyFaL+E38iN4NXQfkSy950SZVDiGJDa66YSpy8GNbBnciyB05qqZx3WdTsXZLJ cjhTomszfnnq7KavPBz0luOCiue1LGPQ+zgeMwe4WMuaFa8DlaRfWXK22yI+51t9+0q7uUlXG0p Lp0qgK22XA+oOWJOByozXuBAZUETqmdEcsJbt7Hk6IxTk4ONOSTt+98akR2H3e+lEcPV3XPrgPN xS3HIEADgP9m+Vez1mcOG7ipz0+1TjIjoznrrYCO8Zz3pPOGc7sdXTVWKX9bvbPH4bp31oc4ojm g/fGZ7xQEWakzRl15Igr+yUXuks90/XnyL9lxBVmaQk0nedaEkbqu9wT8mxNYDXYZDseT+d60p3 254ine6DwwnlKzlzrTa8F2fzl/4XnEeaDFWj+KK1Ou8/yI7XTk62bSc0tV+Hpg9V2i1Xb8XSAge ueYcdykkA+7D3Lg== X-Developer-Key: i=antonin.godard@bootlin.com; a=openpgp; fpr=8648725188DD401BB9A0D3FFD180414029A3A836 X-Last-TLS-Session-Version: TLSv1.3 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Wed, 02 Dec 2026 14:25:40 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/10882 This variable no longer needs to be set, in fact BitBake now expects dynamic metadata to be stored in "dynamic-recipes" at the root of the layer, and doesn't need to set BBFILES_DYNAMIC for that to work. Drop the docs for it. Signed-off-by: Antonin Godard --- .../bitbake-user-manual-ref-variables.rst | 39 ---------------------- 1 file changed, 39 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 5b163b74e..d05c901f4 100644 --- a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst +++ b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst @@ -931,45 +931,6 @@ overview of their function and contents. For details on the syntax, see the documentation by following the previous link. - :term:`BBFILES_DYNAMIC` - Activates content depending on presence of identified layers. You - identify the layers by the collections that the layers define. - - Use the :term:`BBFILES_DYNAMIC` variable to avoid ``.bbappend`` files whose - corresponding ``.bb`` file is in a layer that attempts to modify other - layers through ``.bbappend`` but does not want to introduce a hard - dependency on those other layers. - - Additionally you can prefix the rule with "!" to add ``.bbappend`` and - ``.bb`` files in case a layer is not present. Use this avoid hard - dependency on those other layers. - - Use the following form for :term:`BBFILES_DYNAMIC`:: - - collection_name:filename_pattern - - The following example identifies two collection names and two filename - patterns:: - - BBFILES_DYNAMIC += "\ - clang-layer:${LAYERDIR}/bbappends/meta-clang/*/*/*.bbappend \ - core:${LAYERDIR}/bbappends/openembedded-core/meta/*/*/*.bbappend \ - " - - When the collection name is prefixed with "!" it will add the file pattern in case - the layer is absent:: - - BBFILES_DYNAMIC += "\ - !clang-layer:${LAYERDIR}/backfill/meta-clang/*/*/*.bb \ - " - - This next example shows an error message that occurs because invalid - entries are found, which cause parsing to fail:: - - ERROR: BBFILES_DYNAMIC entries must be of the form {!}:, not: - /work/my-layer/bbappends/meta-security-isafw/*/*/*.bbappend - /work/my-layer/bbappends/openembedded-core/meta/*/*/*.bbappend - :term:`BBINCLUDED` Contains a space-separated list of all of all files that BitBake's parser included during parsing of the current file.