aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@bootlin.com>2022-03-04 21:11:50 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-06 11:37:31 +0000
commit1b026644c3312aa3e0a01cfa31758963926b091a (patch)
treeb1793fb8612913e9e3a37c06ff8649594fae6000 /doc
parent0a3b5b3de7bcb1c5c3748cba42d394cc484e966b (diff)
downloadbitbake-contrib-1b026644c3312aa3e0a01cfa31758963926b091a.tar.gz
bitbake-user-manual: further override syntax updates
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/bitbake-user-manual/bitbake-user-manual-metadata.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst b/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst
index 174cac781..b90e5cf0a 100644
--- a/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst
+++ b/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst
@@ -511,7 +511,7 @@ variable.
.. note::
Overrides can only use lower-case characters. Additionally,
- underscores are not permitted in override names as they are used to
+ colons are not permitted in override names as they are used to
separate overrides from each other and from the variable name.
- *Selecting a Variable:* The :term:`OVERRIDES` variable is a
@@ -523,8 +523,8 @@ variable.
OVERRIDES = "architecture:os:machine"
TEST = "default"
- TEST_os = "osspecific"
- TEST_nooverride = "othercondvalue"
+ TEST:os = "osspecific"
+ TEST:nooverride = "othercondvalue"
In this example, the :term:`OVERRIDES`
variable lists three overrides: "architecture", "os", and "machine".
@@ -567,7 +567,7 @@ variable.
- *Setting a Variable for a Single Task:* BitBake supports setting a
variable just for the duration of a single task. Here is an example::
- FOO_task-configure = "val 1"
+ FOO:task-configure = "val 1"
FOO:task-compile = "val 2"
In the