From patchwork Mon Nov 30 15:26:55 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 106499 Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.34829.1796052435839704350 for ; Mon, 30 Nov 2026 07:27:16 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=RkXXiPFS; spf=pass (domain: linuxfoundation.org, ip: 209.85.128.52, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-4bb606491faso55469375e9.3 for ; Mon, 30 Nov 2026 07:27:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; t=1796052434; x=1796657234; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=/365kiTK0kIwQjHE3D7AxYxHfxi6F6ueq7Xu0zUIL+E=; b=RkXXiPFSwO1VZ1McdLGpBOv6D8d9WCHO2sfkHw+y85MMbwRhG2ZYhLJYaiaohEV2qS yMsxZbHgeaTOqVR91trAlEgtEoQ9J/usdIMRtJacxjjYNFIRDgzlg1j+72Q9C0ypp2iY yEMVCywo9rD7e+ND+VoLIUGdYhQtnaBv/i7hs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796052434; x=1796657234; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=/365kiTK0kIwQjHE3D7AxYxHfxi6F6ueq7Xu0zUIL+E=; b=wbRNEFKab/vtk11BURIUsOZ5b1u3H0q+IJ5GzbfTaQrAo/CMejDpsFM3ZI7XUz3aGE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k3anjtzs973yatagg== X-Received: by 2002:a05:600c:a115:b0:4bb:a5e1:74ac with SMTP id 5b1f17b1804b1-4bba5e195bcmr273847975e9.4.1796052433896; Mon, 30 Nov 2026 07:27:13 -0800 (PST) Return-Path: Received: from max.int.rpsys.net ([2001:8b0:aba:5f3c:2444:81bb:2aff:8d84]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4bb8538b09bsm1704014155e9.4.2026.11.30.07.27.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Nov 2026 07:27:13 -0800 (PST) From: Richard Purdie To: openembedded-core@lists.openembedded.org Subject: [PATCH 07/16] documentation.conf: Update layer variables for new layer handling Date: Mon, 30 Nov 2026 15:26:55 +0000 Message-ID: <20261130152704.3471590-7-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20261130152704.3471590-1-richard.purdie@linuxfoundation.org> References: <20261130152704.3471590-1-richard.purdie@linuxfoundation.org> MIME-Version: 1.0 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 ; Mon, 30 Nov 2026 15:27:20 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251616 Remove the obsolete BBFILE_COLLECTIONS, BBFILE_PATTERN and BBFILE_PRIORITY entries, note BBPATH and BBFILES are now constructed by bitbake, drop the layer suffix references and document LAYERNAME, LAYERRECOMMENDS and LAYERSERIES_COMPAT. AI-Generated: Uses Claude Opus 5.5 Signed-off-by: Richard Purdie --- meta/conf/documentation.conf | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/meta/conf/documentation.conf b/meta/conf/documentation.conf index 2a3c7f80a23..5952f26c726 100644 --- a/meta/conf/documentation.conf +++ b/meta/conf/documentation.conf @@ -80,15 +80,12 @@ BB_DISKMON_WARNINTERVAL[doc] = "Defines the disk space and free inode warning in BB_GENERATE_MIRROR_TARBALLS[doc] = "Causes tarballs of the Git repositories to be placed in the DL_DIR directory." BB_NUMBER_THREADS[doc] = "The maximum number of tasks BitBake should run in parallel at any one time. A good rule of thumb is to set this variable to twice the number of cores." BBCLASSEXTEND[doc] = "Allows you to extend a recipe so that it builds variants of the software. Common variants for recipes are 'native', 'cross', 'nativesdk' and multilibs." -BBFILE_COLLECTIONS[doc] = "Lists the names of configured layers. These names are used to find the other BBFILE_* variables." -BBFILE_PATTERN[doc] = "Variable that expands to match files from BBFILES in a particular layer. This variable is used in the layer.conf file and must be suffixed with the name of a layer." -BBFILE_PRIORITY[doc] = "Assigns the priority for recipe files in each layer. Setting this variable allows you to prioritize a layer against other layers that contain the same recipe." -BBFILES[doc] = "List of recipe files used by BitBake to build software." +BBFILES[doc] = "List of recipe files used by BitBake to build software. This is constructed automatically by BitBake from the recipes* directories of the configured layers and should not be set in layer.conf." BBINCLUDELOGS[doc] = "Variable that controls how BitBake displays logs on build failure." BBINCLUDELOGS_LINES[doc] = "Amount of log lines printed on failure." BBLAYERS[doc] = "Lists the layers to enable during the build. This variable is defined in the bblayers.conf configuration file." BBMASK[doc] = "Prevents BitBake from processing specific recipes or recipe append files." -BBPATH[doc] = "Used by BitBake to locate .bbclass and configuration files. This variable is analogous to the PATH variable." +BBPATH[doc] = "Used by BitBake to locate .bbclass and configuration files. This variable is analogous to the PATH variable. It is constructed automatically by BitBake from the configured layers, ordered by their dependencies, and should not be set in layer.conf." BBSERVER[doc] = "Points to the server that runs memory-resident BitBake." BINCONFIG_GLOB[doc] = "When inheriting binconfig.bbclass from a recipe, this variable specifies a wildcard for configuration scripts that need editing." BP[doc] = "The base recipe name and version but without any special recipe name suffix (i.e. -native, lib64-, and so forth). BP is comprised of ${BPN}-${PV}" @@ -250,9 +247,12 @@ KTYPE[doc] = "Defines the kernel type to be used in assembling the configuration #L -LAYERDEPENDS[doc] = "Lists the layers, separated by spaces, upon which this recipe depends. This variable is used in the conf/layer.conf file and must be suffixed with the name of the specific layer." -LAYERDIR[doc] = "When used inside the layer.conf configuration file, this variable provides the path of the current layer." -LAYERVERSION[doc] = "Optionally specifies the version of a layer as a single number. This variable is used in the conf/layer.conf file and must be suffixed with the name of the specific layer." +LAYERDEPENDS[doc] = "Lists the layers (by LAYERNAME), separated by spaces, upon which this layer depends, optionally with version constraints. This variable is used in the conf/layer.conf file. Layers are placed before the layers they depend upon in BBPATH and after them in BBFILES." +LAYERDIR[doc] = "When used inside the layer.conf configuration file, this variable provides the path of the current layer. The path of each configured layer is also available globally as LAYERDIR_." +LAYERNAME[doc] = "The name of the layer, which must be set in the conf/layer.conf file and be unique amongst the configured layers. Other layers refer to the layer by this name, for example in LAYERDEPENDS." +LAYERRECOMMENDS[doc] = "Lists the layers (by LAYERNAME), separated by spaces, which this layer recommends, optionally with version constraints. This variable is used in the conf/layer.conf file." +LAYERSERIES_COMPAT[doc] = "Lists the OpenEmbedded-Core release series names the layer is compatible with. This variable is used in the conf/layer.conf file." +LAYERVERSION[doc] = "Optionally specifies the version of a layer as a single number, used to check version constraints in LAYERDEPENDS. This variable is used in the conf/layer.conf file." LEAD_SONAME[doc] = "Specifies the lead (or primary) compiled library file (.so) that the debian class applies its naming policy to given a recipe that packages multiple libraries." LIC_FILES_CHKSUM[doc] = "Checksums of the license text in the recipe source code." LICENSE[doc] = "The source license for the recipe as a SPDX License expression"