From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.37489.1796223356886630002 for ; Wed, 02 Dec 2026 06:55:57 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@bootlin.com header.s=dkim header.b=KwN2ZUjW; 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 59ACF4E4184A for ; Wed, 2 Dec 2026 14:55:55 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 276D36075F for ; Wed, 2 Dec 2026 14:55:55 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 2682B11EA1BDE; Wed, 02 Dec 2026 15:55:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1796223350; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=zFlZHMZYJXfo1iVcN1nKygg8NNbZyv3RPKD4wxAgBAk=; b=KwN2ZUjWkpmJohdLVKTX/RGZmCltCMEd2FuFKxkYGjo7xBS7TsfF8MGy27daOc31l/qmdT 7VXFKQPcDGk2+Pdqn2M6INH+DZrrSdF485cMCY4T+1HdzQujbYwztnRK+ASfHNhT4wfJPy YdL/u3jbiedXmuwt/uRpwHEoGDWulKJEe8w27Q1TRkrKqHWGrUbj2DHvtSZgdw18lJv8Ra hKDD1QM21YeiP3HDqypyL0WctfAdqBkdayPxk4tr0JQqKN9nA6UWuRQveyF2zNYZfN6W4Q +1Ad98Uc9gBpE18d3WH6kbEjpcGIvW0kwDhuADcthBm9qgFoVPjk2cPnZ51U3w== From: Antonin Godard Date: Wed, 02 Dec 2026 15:55:40 +0100 Subject: [PATCH 05/18] ref-manual/variables.rst: link bitbake-specific to the bitbake manual MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20261202-layer-conf-changes-v1-5-da34d4c770c6@bootlin.com> References: <20261202-layer-conf-changes-v1-0-da34d4c770c6@bootlin.com> In-Reply-To: <20261202-layer-conf-changes-v1-0-da34d4c770c6@bootlin.com> To: docs@lists.yoctoproject.org Cc: Thomas Petazzoni , Antonin Godard X-Mailer: b4 0.17-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=6895; i=antonin.godard@bootlin.com; h=from:subject:message-id; bh=hMmoBIu/fAW7Qgwey17mHh9QGYES1d2/EacmqbCM82s=; b=owEBbQKS/ZANAwAKAdGAQUApo6g2AcsmYgBrEDFt9zjLBaccfKNM7XOt8nFsOvx3BhVYEbKDz L3YQKQ+oM6JAjMEAAEKAB0WIQSGSHJRiN1AG7mg0//RgEFAKaOoNgUCaxAxbQAKCRDRgEFAKaOo NgmuD/9sgs8YlLdthyh5m/VCsJ0LF/mlWMBgwZ9N4uNbGwyp/NcpAEYK42kiL88xIhP0lngAZVB fQovmBRY+GA94Vu2Xr23CZkpR8uV30zWPRrPNV5kvvrEPf8ekUw8fEmDjdGipvkgVCGsJRX/l1a 0vp99Ir7tvmymnlsiQQCUgzG4+yHt8LnnWmDn6VhFh2q5YMYsLSpv9TDN7MiXLAifaX3wpuHHds QF73Ci0wJWM0I4zE6u8yM9I7jUDpLkEaRwMqNoFZTH583TOWoPNrOb18REVwGEhb3euTP02Hxiq 1mRsOlh2ExPpfU3C9Oxu8AMZF158BzGfQ9ERDykaz649Aln183hFmrKUdJltGwNfMkpZx3+pUPx 0lABlU8tD+j0LZSWrBL4yA9V4KHcS/VT+JLA0FlNpO+p4N0DAs+8xZjWPvVYW3X4rEJ/HIAos/S oxfHWSMhRi7AfPFWjcDX8xEqtPhhGmpVQ8vmacOwK3GO/PTen8iJkBPN5SgSldTZ2EPzFT6AvP8 38FlFmenU//MrsG/Q3+KrUxmrAWSGRRdDc8UsWsOEm4xdILhcnndAP4S0R/415Ec/a5chBuWBji hSvW/AA6RuApjG8m1v91UXLBcsmkD7orqTzWHeX6pbwjE3etxBgVl5HB6JCaYrGWxCpKjlxUO76 lO2pecOzPA/zlJA== 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:56:02 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/10892 Let's keep a single definition for bitbake-specific variables and (that are not specific to OE) in the BitBake User Manual, to avoid duplication. Signed-off-by: Antonin Godard ref-manual/variables.rst: link BBMASK variable to BitBake User Manual Keep a single definition for BBMASK, in the BitBake User Manual, to avoid duplication (and the explanation is much better there). Signed-off-by: Antonin Godard --- documentation/ref-manual/variables.rst | 98 +++++----------------------------- 1 file changed, 12 insertions(+), 86 deletions(-) diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 2f491b3ef..e8a40cae5 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst @@ -842,40 +842,7 @@ system and gives an overview of their function and contents. See :term:`bitbake:BBLAYERS_FETCH_DIR` in the BitBake manual. :term:`BBMASK` - Prevents BitBake from processing recipes and recipe append files. - - You can use the :term:`BBMASK` variable to "hide" these ``.bb`` and - ``.bbappend`` files. BitBake ignores any recipe or recipe append - files that match any of the expressions. It is as if BitBake does not - see them at all. Consequently, matching files are not parsed or - otherwise used by BitBake. - - The values you provide are passed to Python's regular expression - 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 https://docs.python.org/3/library/re.html#regular-expression-syntax. - - 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:: - - 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-oe/recipes-support/" - BBMASK += "/meta-foo/.*/openldap" - BBMASK += "opencv.*\.bbappend" - BBMASK += "lzma" - - .. note:: - - When specifying a directory name, use the trailing slash character - to ensure you match just that directory name. + See :term:`bitbake:BBMASK` in the BitBake User Manual. :term:`BBMULTICONFIG` Specifies each additional separate configuration when you are @@ -2143,19 +2110,7 @@ system and gives an overview of their function and contents. not intended to be user-configurable. :term:`DEFAULT_PREFERENCE` - Specifies a weak bias for recipe selection priority. - - The most common usage of this is variable is to set it to "-1" within - a recipe for a development version of a piece of software. Using the - variable in this way causes the stable version of the recipe to build - by default in the absence of :term:`PREFERRED_VERSION` being used to - build the development version. - - .. note:: - - The bias provided by :term:`DEFAULT_PREFERENCE` is weak and is overridden - by :term:`BBFILE_PRIORITY` if that variable is different between two - layers that contain different versions of the same recipe. + See :term:`bitbake:DEFAULT_PREFERENCE` in the BitBake User Manual. :term:`DEFAULT_TIMEZONE` Specifies the time zone set in the image. @@ -5832,55 +5787,26 @@ system and gives an overview of their function and contents. See the :ref:`ref-classes-grub-efi` class for more information on how this variable is used. - :term:`LAYERDEPENDS` - 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_mylayer = "anotherlayer (=3)" + :term:`LAYER_PASSTHROUGH_VARS_PREFIXES` + See :term:`bitbake:LAYER_PASSTHROUGH_VARS_PREFIXES` in the BitBake User Manual. - In this previous example, - version 3 of "anotherlayer" is compared against - :term:`LAYERVERSION`\ ``_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 and must be suffixed with the name of - the specific layer (e.g. ``LAYERDEPENDS_mylayer``). + :term:`LAYERDEPENDS` + See :term:`bitbake:LAYERDEPENDS` in the BitBake User Manual. :term:`LAYERDIR` - When used inside the ``layer.conf`` configuration file, this variable - provides the path of the current layer. This variable is not - available outside of ``layer.conf`` and references are expanded - immediately when parsing of the file completes. + See :term:`bitbake:LAYERDIR` in the BitBake User Manual. - :term:`LAYERRECOMMENDS` - Lists the layers, separated by spaces, recommended for use with this - layer. + :term:`LAYERNAME` + See :term:`bitbake:LAYERNAME` in the BitBake User Manual. - 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_mylayer = "anotherlayer (=3)" - - In this previous example, version 3 of "anotherlayer" is compared - against ``LAYERVERSION_anotherlayer``. - - This variable is used in the ``conf/layer.conf`` file and must be - suffixed with the name of the specific layer (e.g. - ``LAYERRECOMMENDS_mylayer``). + :term:`LAYERRECOMMENDS` + See :term:`bitbake:LAYERRECOMMENDS` in the BitBake User Manual. :term:`LAYERSERIES_COMPAT` See :term:`bitbake:LAYERSERIES_COMPAT` in the BitBake manual. :term:`LAYERVERSION` - Optionally specifies the version of a layer as a single number. You - 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 and must be - suffixed with the name of the specific layer (e.g. - ``LAYERVERSION_mylayer``). + See :term:`bitbake:LAYERVERSION` in the BitBake User Manual. :term:`LD` The minimal command and arguments used to run the :manpage:`linker -- 2.56.0