mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
bitbake: bitbake-user-manual: further override syntax updates
(Bitbake rev: 1b026644c3312aa3e0a01cfa31758963926b091a) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
370ca1d1bd
commit
3704d5036b
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user