diff mbox series

doc: use "+=" for BBFILE* assignments in layer.conf example

Message ID 2e02ce72-29bb-272c-fece-49be130611aa@crashcourse.ca
State New
Headers show
Series doc: use "+=" for BBFILE* assignments in layer.conf example | expand

Commit Message

Robert P. J. Day Jan. 15, 2026, 9:14 a.m. UTC
In a layer.conf file, assignments to BBFILES and BBFILE_COLLECTIONS
should use "+=", not just "=".  Even though this is just an example,
it should still be correct.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>

---

Comments

Quentin Schulz Jan. 15, 2026, 2:37 p.m. UTC | #1
Hi Robert,

On 1/15/26 10:11 AM, Robert P. J. Day via lists.yoctoproject.org wrote:
> 
> In a layer.conf file, assignments to BBFILES and BBFILE_COLLECTIONS
> should use "+=", not just "=".  Even though this is just an example,
> it should still be correct.
> 
> Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
> 

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>

Thanks!
Quentin
diff mbox series

Patch

diff --git a/doc/bitbake-user-manual/bitbake-user-manual-execution.rst b/doc/bitbake-user-manual/bitbake-user-manual-execution.rst
index d407f59c0..fc89c3998 100644
--- a/doc/bitbake-user-manual/bitbake-user-manual-execution.rst
+++ b/doc/bitbake-user-manual/bitbake-user-manual-execution.rst
@@ -240,8 +240,8 @@  example, one could easily use them to make one's own local copy of an
 upstream repository, but with custom modifications that one does not
 want upstream. Here is an example::

-  BBFILES = "/stuff/openembedded/*/*.bb /stuff/openembedded.modified/*/*.bb"
-  BBFILE_COLLECTIONS = "upstream local"
+  BBFILES += "/stuff/openembedded/*/*.bb /stuff/openembedded.modified/*/*.bb"
+  BBFILE_COLLECTIONS += "upstream local"
   BBFILE_PATTERN_upstream = "^/stuff/openembedded/"
   BBFILE_PATTERN_local = "^/stuff/openembedded.modified/"
   BBFILE_PRIORITY_upstream = "5"