From patchwork Wed Dec 2 14:25:06 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antonin Godard X-Patchwork-Id: 106990 Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.37217.1796221529956802894 for ; Wed, 02 Dec 2026 06:25:30 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=dkim header.b=z1U6DEoQ; spf=pass (domain: bootlin.com, ip: 185.171.202.116, mailfrom: antonin.godard@bootlin.com) Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id 3B7BFC01339; Wed, 2 Dec 2026 14:25:39 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 3EE5B6075F; Wed, 2 Dec 2026 14:25:28 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 75A4811EA1B3D; Wed, 02 Dec 2026 15:25:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1796221527; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=dqxEHJJCdNkd2lJF9K/scPhkfuwDTwzjvQG5KlcFcwM=; b=z1U6DEoQJc/tK72cryvXs/Ybc15W93NU7tfIQ7IOipFq8OW9Ntd0yQnx+bj6hgvo3+yr7o MV3xfxhy2RBj1YfQMkZA940fG0Bs9FTcBGf3rV07g3O43GPlizCXuJ+nYKD/FEulwr9JXA cGlMtPF1AkoTid8lOdEO395ws1dXGolsCsQlisU/evh7ozuFRPUs4O9MCJfYOWRdgg9sf5 YD1NCJ4ZHgTAgFg1mE1YrnrW780z3p6iJMeV3ayB5baT2AaPxbB8tpWGJbWVzWw+7RgR41 YjYSMOG1B21+7utDN70ksu0TI//CTJkEF84+PV81yS/YfqIbT0vd4/biUKCeXQ== From: Antonin Godard Date: Wed, 02 Dec 2026 15:25:06 +0100 Subject: [PATCH 3/9] doc/bitbake-user-manual-ref-variables: refresh LAYER* variables MIME-Version: 1.0 Message-Id: <20261202-layer-conf-doc-changes-v1-3-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=5315; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=0L43pvS0QJ25NdAyUf1tTnsbsrIeqZZD/qx5ZXqtfBM=; b=owEBbQKS/ZANAwAKAdGAQUApo6g2AcsmYgBrECpKX+Job1SyFqazD5IFpuw7c1bMCoy3iHZq0 NvmCjBlMB2JAjMEAAEKAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCaxAqSgAKCRDRgEFAKaOo NjnrD/9+HJ5WWBnfpXMFw91wbRw+uzkVfg4p8+JXS4ezHd3fPWyHRPMAezn+DGyS6UCGBpLiKOo Lz0D7nx2vXrFio+LY8qZ9w+C48T+f6s7zoJKt9/5OzUA5tM2q97xglU6wA3b1K6ubvsiIR2zq52 knzggmKsAyJbekp+axaEyK01+otHptnfEGcLc5CJ9oc4vHO7XWfM8YIbaKa/raHu3jO8frfFrIS ZtWbAWkBIeV8XLBD+NGDyzyYBLqdm+okPfRpwsqX6u1R82Qv3f6pQU4T7FKPLVDTnfbDdlBs41u AYSj5da8q47HcllAi3CuLGnbKDhm9gg8U78ESt0BDsEywUbTIVfhS+kJAiz8rd0pPIAfIFSJMqp 6kjyqAgRkuplL4Z5hJd49bzEolJvtakw4axeE8dr1UZk9jtuxhL8IZ6tUDMSmj3IIAJjmPDSR6f 4k7deBznp9xGoXRHh3kGuGg2mYhiGfN4ZnPLHc1Unb9WE5cGJfh8AE41ocZGawNOPgkneyDjjNd +//4UEx/NnEulB0WNeTP78pxSoNI3S+4/p2kyRyqIqGydcrWWM5rwz4gu/kavDVnf10l5say/El mvGdNU2eZdM5lXS+pvy+so0vH+2If3/9s5QDhlVIy7J1XOOMb/qX7mkC8ixK9ogpPqrB/UuudBs P5lsxAGJZohkF6Q== 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/10880 Refresh the documentation for LAYER* variables after the recent layer configuration format changes. Signed-off-by: Antonin Godard --- .../bitbake-user-manual-ref-variables.rst | 65 ++++++++++++++-------- 1 file changed, 43 insertions(+), 22 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 fa5dc9b35..4baea1550 100644 --- a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst +++ b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst @@ -1324,22 +1324,32 @@ overview of their function and contents. In OpenEmbedded, the ``openembedded-core`` layer sets this variable. + :term:`LAYER_PASSTHROUGH_VARS_PREFIXES` + The :term:`LAYER_PASSTHROUGH_VARS_PREFIXES` variable should be set by one + layer only (the first one in the :term:`BBLAYERS` list wins) and contains + a list of variable prefixes: the matching variables are the **only** ones + that can be set from the ``conf/layer.conf`` file and that set a global + value for the variable. + :term:`LAYERDEPENDS` - Lists the layers, separated by spaces, upon which this recipe - depends. Optionally, you can specify a specific layer version for a - dependency by adding it to the end of the layer name with a colon, - (e.g. "anotherlayer:3" to be compared against - :term:`LAYERVERSION`\ ``_anotherlayer`` in - this case). BitBake produces an error if any dependency is missing or - the version numbers do not match exactly (if specified). - - You use this variable in the ``conf/layer.conf`` file. You must also - use the specific layer name as a suffix to the variable (e.g. - ``LAYERDEPENDS_mylayer``). + Lists the layers, separated by spaces, on which this layer depends. + + Optionally, you can specify a specific layer version for a dependency + by adding it to the end of the layer name. Here is an example:: + + LAYERDEPENDS = "anotherlayer (=3)" + + In this previous example, version 3 of ``anotherlayer`` is compared + against the :term:`LAYERVERSION` definition of ``anotherlayer``. + + An error is produced if any dependency is missing or the version + numbers (if specified) do not match exactly. + + This variable is used in the ``conf/layer.conf`` file. :term:`LAYERDIR` - This variable is automatically defined by :term:`BitBake` when parsing the - layers: when :term:`BitBake` reads the :term:`BBLAYERS` variable, it sets + This variable is automatically defined by BitBake when parsing the + layers: when BitBake reads the :term:`BBLAYERS` variable, it sets a new ``LAYERDIR_`` variable containing the absolute layer path for each layer in the list. The ```` value is determined from the layer's :term:`LAYERNAME`. @@ -1348,8 +1358,23 @@ overview of their function and contents. When used inside the ``layer.conf`` configuration file, this variable provides the name assigned to the current layer. + :term:`LAYERRECOMMENDS` + Lists the layers, separated by spaces, recommended for use with this + layer. + + Optionally, you can specify a specific layer version for a + recommendation by adding the version to the end of the layer name. + Here is an example:: + + LAYERRECOMMENDS = "anotherlayer (=3)" + + In this previous example, version 3 of ``anotherlayer`` is compared + against the :term:`LAYERVERSION` definition of ``anotherlayer``. + + This variable is used in the ``conf/layer.conf`` file. + :term:`LAYERSERIES_COMPAT` - Lists the versions of the OpenEmbedded-Core (OE-Core) for which + Lists the versions of the OpenEmbedded-Core (OE-Core) series for which a layer is compatible. Using the :term:`LAYERSERIES_COMPAT` variable allows the layer maintainer to indicate which combinations of the layer and OE-Core can be expected to work. The variable gives the @@ -1362,7 +1387,7 @@ overview of their function and contents. "mickledore"). To specify multiple OE-Core versions for the layer, use a space-separated list:: - LAYERSERIES_COMPAT_layer_root_name = "kirkstone mickledore" + LAYERSERIES_COMPAT = "kirkstone mickledore" .. note:: @@ -1373,13 +1398,9 @@ overview of their function and contents. :term:`LAYERVERSION` Optionally specifies the version of a layer as a single number. You - can use this variable within - :term:`LAYERDEPENDS` for another layer in - order to depend on a specific version of the layer. - - You use this variable in the ``conf/layer.conf`` file. You must also - use the specific layer name as a suffix to the variable (e.g. - ``LAYERDEPENDS_mylayer``). + can use this within :term:`LAYERDEPENDS` for + another layer in order to depend on a specific version of the layer. + This variable is used in the ``conf/layer.conf`` file. :term:`LICENSE` The list of source licenses for the recipe.