* [PATCH] bitbake-user-manual: explicit variables taking a colon separated list
@ 2023-06-19 16:06 michael.opdenacker
2023-06-20 7:52 ` [bitbake-devel] " Luca Ceresoli
0 siblings, 1 reply; 3+ messages in thread
From: michael.opdenacker @ 2023-06-19 16:06 UTC (permalink / raw)
To: bitbake-devel; +Cc: docs, Michael Opdenacker
From: Michael Opdenacker <michael.opdenacker@bootlin.com>
[YOCTO #15128]
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
---
.../bitbake-user-manual-ref-variables.rst | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 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 01d4f8d1..ee5d7ba8 100644
--- a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
+++ b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
@@ -920,9 +920,9 @@ overview of their function and contents.
section.
:term:`BBPATH`
- Used by BitBake to locate class (``.bbclass``) and configuration
- (``.conf``) files. This variable is analogous to the ``PATH``
- variable.
+ A colon-separated list used by BitBake to locate class (``.bbclass``)
+ and configuration (``.conf``) files. This variable is analogous to the
+ ``PATH`` variable.
If you run BitBake from a directory outside of the build directory,
you must be sure to set :term:`BBPATH` to point to the build directory.
@@ -1165,8 +1165,8 @@ overview of their function and contents.
order.
:term:`OVERRIDES`
- BitBake uses :term:`OVERRIDES` to control what variables are overridden
- after BitBake parses recipes and configuration files.
+ A colon-separated list that BitBake uses to control what variables are
+ overridden after BitBake parses recipes and configuration files.
Following is a simple example that uses an overrides list based on
machine architectures: OVERRIDES = "arm:x86:mips:powerpc" You can
@@ -1225,9 +1225,9 @@ overview of their function and contents.
PREFERRED_PROVIDER_virtual/libgl ?= "mesa"
:term:`PREFERRED_PROVIDERS`
- Determines which recipe should be given preference for cases where
- multiple recipes provide the same item. Functionally,
- :term:`PREFERRED_PROVIDERS` is identical to
+ A colon-separated list to determine which recipe should be given
+ preference for cases where multiple recipes provide the same item.
+ Functionally, :term:`PREFERRED_PROVIDERS` is identical to
:term:`PREFERRED_PROVIDER`. However, the :term:`PREFERRED_PROVIDERS` variable
lets you define preferences for multiple situations using the following
form::
--
2.34.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [bitbake-devel] [PATCH] bitbake-user-manual: explicit variables taking a colon separated list
2023-06-19 16:06 [PATCH] bitbake-user-manual: explicit variables taking a colon separated list michael.opdenacker
@ 2023-06-20 7:52 ` Luca Ceresoli
2023-06-20 17:03 ` Michael Opdenacker
0 siblings, 1 reply; 3+ messages in thread
From: Luca Ceresoli @ 2023-06-20 7:52 UTC (permalink / raw)
To: michael.opdenacker; +Cc: bitbake-devel, docs
Hi Mike,
On Mon, 19 Jun 2023 18:06:14 +0200
"Michael Opdenacker via lists.openembedded.org"
<michael.opdenacker=bootlin.com@lists.openembedded.org> wrote:
> From: Michael Opdenacker <michael.opdenacker@bootlin.com>
>
> [YOCTO #15128]
>
> Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
> ---
> .../bitbake-user-manual-ref-variables.rst | 16 ++++++++--------
> 1 file changed, 8 insertions(+), 8 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 01d4f8d1..ee5d7ba8 100644
> --- a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
> +++ b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
> @@ -920,9 +920,9 @@ overview of their function and contents.
> section.
>
> :term:`BBPATH`
> - Used by BitBake to locate class (``.bbclass``) and configuration
> - (``.conf``) files. This variable is analogous to the ``PATH``
> - variable.
> + A colon-separated list used by BitBake to locate class (``.bbclass``)
> + and configuration (``.conf``) files. This variable is analogous to the
> + ``PATH`` variable.
>
> If you run BitBake from a directory outside of the build directory,
> you must be sure to set :term:`BBPATH` to point to the build directory.
> @@ -1165,8 +1165,8 @@ overview of their function and contents.
> order.
>
> :term:`OVERRIDES`
> - BitBake uses :term:`OVERRIDES` to control what variables are overridden
> - after BitBake parses recipes and configuration files.
> + A colon-separated list that BitBake uses to control what variables are
> + overridden after BitBake parses recipes and configuration files.
>
> Following is a simple example that uses an overrides list based on
> machine architectures: OVERRIDES = "arm:x86:mips:powerpc" You can
> @@ -1225,9 +1225,9 @@ overview of their function and contents.
> PREFERRED_PROVIDER_virtual/libgl ?= "mesa"
>
> :term:`PREFERRED_PROVIDERS`
> - Determines which recipe should be given preference for cases where
> - multiple recipes provide the same item. Functionally,
> - :term:`PREFERRED_PROVIDERS` is identical to
> + A colon-separated list to determine which recipe should be given
> + preference for cases where multiple recipes provide the same item.
> + Functionally, :term:`PREFERRED_PROVIDERS` is identical to
> :term:`PREFERRED_PROVIDER`. However, the :term:`PREFERRED_PROVIDERS` variable
> lets you define preferences for multiple situations using the following
> form::
If I read the docs correctly, PREFERRED_PROVIDERS is not a
colon-separated list but rather a space-separated list [of
colon-separated pairs].
Otherwise looks good, and useful -- thanks!
Luca
--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [bitbake-devel] [PATCH] bitbake-user-manual: explicit variables taking a colon separated list
2023-06-20 7:52 ` [bitbake-devel] " Luca Ceresoli
@ 2023-06-20 17:03 ` Michael Opdenacker
0 siblings, 0 replies; 3+ messages in thread
From: Michael Opdenacker @ 2023-06-20 17:03 UTC (permalink / raw)
To: Luca Ceresoli; +Cc: bitbake-devel, docs
Hi Luca,
Thanks a lot for the review!
On 20.06.23 at 09:52, Luca Ceresoli wrote:
> Hi Mike,
>
> On Mon, 19 Jun 2023 18:06:14 +0200
> "Michael Opdenacker via lists.openembedded.org"
> <michael.opdenacker=bootlin.com@lists.openembedded.org> wrote:
>
>> From: Michael Opdenacker <michael.opdenacker@bootlin.com>
>>
>> [YOCTO #15128]
>>
>> Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
>> ---
>> .../bitbake-user-manual-ref-variables.rst | 16 ++++++++--------
>> 1 file changed, 8 insertions(+), 8 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 01d4f8d1..ee5d7ba8 100644
>> --- a/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
>> +++ b/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
>> @@ -920,9 +920,9 @@ overview of their function and contents.
>> section.
>>
>> :term:`BBPATH`
>> - Used by BitBake to locate class (``.bbclass``) and configuration
>> - (``.conf``) files. This variable is analogous to the ``PATH``
>> - variable.
>> + A colon-separated list used by BitBake to locate class (``.bbclass``)
>> + and configuration (``.conf``) files. This variable is analogous to the
>> + ``PATH`` variable.
>>
>> If you run BitBake from a directory outside of the build directory,
>> you must be sure to set :term:`BBPATH` to point to the build directory.
>> @@ -1165,8 +1165,8 @@ overview of their function and contents.
>> order.
>>
>> :term:`OVERRIDES`
>> - BitBake uses :term:`OVERRIDES` to control what variables are overridden
>> - after BitBake parses recipes and configuration files.
>> + A colon-separated list that BitBake uses to control what variables are
>> + overridden after BitBake parses recipes and configuration files.
>>
>> Following is a simple example that uses an overrides list based on
>> machine architectures: OVERRIDES = "arm:x86:mips:powerpc" You can
>> @@ -1225,9 +1225,9 @@ overview of their function and contents.
>> PREFERRED_PROVIDER_virtual/libgl ?= "mesa"
>>
>> :term:`PREFERRED_PROVIDERS`
>> - Determines which recipe should be given preference for cases where
>> - multiple recipes provide the same item. Functionally,
>> - :term:`PREFERRED_PROVIDERS` is identical to
>> + A colon-separated list to determine which recipe should be given
>> + preference for cases where multiple recipes provide the same item.
>> + Functionally, :term:`PREFERRED_PROVIDERS` is identical to
>> :term:`PREFERRED_PROVIDER`. However, the :term:`PREFERRED_PROVIDERS` variable
>> lets you define preferences for multiple situations using the following
>> form::
> If I read the docs correctly, PREFERRED_PROVIDERS is not a
> colon-separated list but rather a space-separated list [of
> colon-separated pairs].
Oops, you're right. bitbake/lib/bb/cooker.py confirms this.
I'm sending an update.
Thanks again
Mike.
--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-06-20 17:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-19 16:06 [PATCH] bitbake-user-manual: explicit variables taking a colon separated list michael.opdenacker
2023-06-20 7:52 ` [bitbake-devel] " Luca Ceresoli
2023-06-20 17:03 ` Michael Opdenacker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox