* [PATCH 0/1] Clarify that _ and not : is used for suffixing the variable name.
@ 2024-09-20 12:40 Simon A. Eugster
2024-09-20 12:40 ` [PATCH 1/1] bitbake: doc: suffix for BBFILE_PRIORITY Simon A. Eugster
0 siblings, 1 reply; 6+ messages in thread
From: Simon A. Eugster @ 2024-09-20 12:40 UTC (permalink / raw)
To: bitbake-devel; +Cc: docs, Simon A. Eugster
Simon A. Eugster (1):
bitbake: doc: suffix for BBFILE_PRIORITY
.../bitbake-user-manual-ref-variables.rst | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
--
2.43.0
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 1/1] bitbake: doc: suffix for BBFILE_PRIORITY
2024-09-20 12:40 [PATCH 0/1] Clarify that _ and not : is used for suffixing the variable name Simon A. Eugster
@ 2024-09-20 12:40 ` Simon A. Eugster
2024-09-23 9:31 ` [docs] " Quentin Schulz
0 siblings, 1 reply; 6+ messages in thread
From: Simon A. Eugster @ 2024-09-20 12:40 UTC (permalink / raw)
To: bitbake-devel; +Cc: docs, Simon A. Eugster
Signed-off-by: Simon A. Eugster <simon.eu@gmail.com>
---
.../bitbake-user-manual-ref-variables.rst | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
index 899e584f91..c203531f51 100644
--- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
+++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
@@ -766,6 +766,10 @@ overview of their function and contents.
:term:`BBFILE_PRIORITY`
Assigns the priority for recipe files in each layer.
+ This variable is used in the ``conf/layer.conf`` file and must be
+ suffixed with a `_` followed by the name of the specific layer (e.g.
+ ``BBFILE_PRIORITY_emenlow``). Colon as separator is not supported.
+
This variable is useful in situations where the same recipe appears
in more than one layer. Setting this variable allows you to
prioritize a layer against other layers that contain the same recipe
@@ -780,7 +784,7 @@ overview of their function and contents.
higher precedence. For example, the value 6 has a higher precedence
than the value 5. If not specified, the :term:`BBFILE_PRIORITY` variable
is set based on layer dependencies (see the :term:`LAYERDEPENDS` variable
- for more information. The default priority, if unspecified for a
+ for more information). The default priority, if unspecified for a
layer with no dependencies, is the lowest defined priority + 1 (or 1
if no priorities are defined).
--
2.43.0
^ permalink raw reply related [flat|nested] 6+ messages in thread* Re: [docs] [PATCH 1/1] bitbake: doc: suffix for BBFILE_PRIORITY
2024-09-20 12:40 ` [PATCH 1/1] bitbake: doc: suffix for BBFILE_PRIORITY Simon A. Eugster
@ 2024-09-23 9:31 ` Quentin Schulz
2024-09-24 9:05 ` Simon Eugster
[not found] ` <10227.1733234974032646746@lists.openembedded.org>
0 siblings, 2 replies; 6+ messages in thread
From: Quentin Schulz @ 2024-09-23 9:31 UTC (permalink / raw)
To: simon.eu, bitbake-devel; +Cc: docs
Hi Simon,
On 9/20/24 2:40 PM, Simon A. Eugster via lists.yoctoproject.org wrote:
> [You don't often get email from simon.eu=gmail.com@lists.yoctoproject.org. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
>
Please try to always have some commit log to explain what's going on in
the commit. It is useful if one does `git log` without `-p`/`--patch` or
if additional "metadata"/context to the code is important. E.g. here,
you could have said that you were confused by the use of the underscore
instead of the colon so you are now making this explicit.
I don't think it's warranted to send a v2 just for that, just think
about it for your next contribution!
> Signed-off-by: Simon A. Eugster <simon.eu@gmail.com>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Thanks!
Quentin
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [docs] [PATCH 1/1] bitbake: doc: suffix for BBFILE_PRIORITY
2024-09-23 9:31 ` [docs] " Quentin Schulz
@ 2024-09-24 9:05 ` Simon Eugster
[not found] ` <10227.1733234974032646746@lists.openembedded.org>
1 sibling, 0 replies; 6+ messages in thread
From: Simon Eugster @ 2024-09-24 9:05 UTC (permalink / raw)
To: Quentin Schulz; +Cc: bitbake-devel, docs
[-- Attachment #1: Type: text/plain, Size: 1061 bytes --]
Hi Quentin,
thanks for the feedback. Will do that for the next patch!
Simon
On Mon, Sep 23, 2024 at 11:32 AM Quentin Schulz <quentin.schulz@cherry.de>
wrote:
> Hi Simon,
>
> On 9/20/24 2:40 PM, Simon A. Eugster via lists.yoctoproject.org wrote:
> > [You don't often get email from simon.eu=
> gmail.com@lists.yoctoproject.org. Learn why this is important at
> https://aka.ms/LearnAboutSenderIdentification ]
> >
>
> Please try to always have some commit log to explain what's going on in
> the commit. It is useful if one does `git log` without `-p`/`--patch` or
> if additional "metadata"/context to the code is important. E.g. here,
> you could have said that you were confused by the use of the underscore
> instead of the colon so you are now making this explicit.
>
> I don't think it's warranted to send a v2 just for that, just think
> about it for your next contribution!
>
> > Signed-off-by: Simon A. Eugster <simon.eu@gmail.com>
>
> Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
>
> Thanks!
> Quentin
>
[-- Attachment #2: Type: text/html, Size: 1911 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread[parent not found: <10227.1733234974032646746@lists.openembedded.org>]
* [PATCH 0/1] Clarify that _ and not : is used for suffixing the variable name.
@ 2024-09-20 11:38 Simon A. Eugster
2024-09-20 11:38 ` [PATCH 1/1] bitbake: doc: suffix for BBFILE_PRIORITY Simon A. Eugster
0 siblings, 1 reply; 6+ messages in thread
From: Simon A. Eugster @ 2024-09-20 11:38 UTC (permalink / raw)
To: docs; +Cc: Simon A. Eugster
Simon A. Eugster (1):
bitbake: doc: suffix for BBFILE_PRIORITY
.../bitbake-user-manual-ref-variables.rst | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
--
2.43.0
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 1/1] bitbake: doc: suffix for BBFILE_PRIORITY
2024-09-20 11:38 [PATCH 0/1] Clarify that _ and not : is used for suffixing the variable name Simon A. Eugster
@ 2024-09-20 11:38 ` Simon A. Eugster
0 siblings, 0 replies; 6+ messages in thread
From: Simon A. Eugster @ 2024-09-20 11:38 UTC (permalink / raw)
To: docs; +Cc: Simon A. Eugster
Signed-off-by: Simon A. Eugster <simon.eu@gmail.com>
---
.../bitbake-user-manual-ref-variables.rst | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
index 899e584f91..c203531f51 100644
--- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
+++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-ref-variables.rst
@@ -766,6 +766,10 @@ overview of their function and contents.
:term:`BBFILE_PRIORITY`
Assigns the priority for recipe files in each layer.
+ This variable is used in the ``conf/layer.conf`` file and must be
+ suffixed with a `_` followed by the name of the specific layer (e.g.
+ ``BBFILE_PRIORITY_emenlow``). Colon as separator is not supported.
+
This variable is useful in situations where the same recipe appears
in more than one layer. Setting this variable allows you to
prioritize a layer against other layers that contain the same recipe
@@ -780,7 +784,7 @@ overview of their function and contents.
higher precedence. For example, the value 6 has a higher precedence
than the value 5. If not specified, the :term:`BBFILE_PRIORITY` variable
is set based on layer dependencies (see the :term:`LAYERDEPENDS` variable
- for more information. The default priority, if unspecified for a
+ for more information). The default priority, if unspecified for a
layer with no dependencies, is the lowest defined priority + 1 (or 1
if no priorities are defined).
--
2.43.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2024-12-04 9:42 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-20 12:40 [PATCH 0/1] Clarify that _ and not : is used for suffixing the variable name Simon A. Eugster
2024-09-20 12:40 ` [PATCH 1/1] bitbake: doc: suffix for BBFILE_PRIORITY Simon A. Eugster
2024-09-23 9:31 ` [docs] " Quentin Schulz
2024-09-24 9:05 ` Simon Eugster
[not found] ` <10227.1733234974032646746@lists.openembedded.org>
2024-12-04 9:42 ` [bitbake-devel] " Quentin Schulz
-- strict thread matches above, loose matches on Subject: below --
2024-09-20 11:38 [PATCH 0/1] Clarify that _ and not : is used for suffixing the variable name Simon A. Eugster
2024-09-20 11:38 ` [PATCH 1/1] bitbake: doc: suffix for BBFILE_PRIORITY Simon A. Eugster
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox