Skip to contentSkip to conversation

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

PATCH In review Robert P. J. Day 2 participants 2 messages Jan 15

lore
Share & tools
lore
#0 lore raw

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

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.

---

doc/bitbake-user-manual/bitbake-user-manual-execution.rst +2 -2
index d407f59c0..fc89c3998 100644
@@ -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"