diff options
author | Michael Opdenacker <michael.opdenacker@bootlin.com> | 2022-03-04 21:11:50 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-06 11:39:08 +0000 |
commit | 3704d5036b57de3620494728bfa33819c2b1dab9 (patch) | |
tree | 6157b76901f8a9c442e0ab7e58840ebc2574a2a7 | |
parent | 370ca1d1bd6eea7d4c0e92d243bdcb089f9af385 (diff) | |
download | poky-3704d5036b57de3620494728bfa33819c2b1dab9.tar.gz |
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>
-rw-r--r-- | bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst index 174cac7818..b90e5cf0a9 100644 --- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst +++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst | |||
@@ -511,7 +511,7 @@ variable. | |||
511 | .. note:: | 511 | .. note:: |
512 | 512 | ||
513 | Overrides can only use lower-case characters. Additionally, | 513 | Overrides can only use lower-case characters. Additionally, |
514 | underscores are not permitted in override names as they are used to | 514 | colons are not permitted in override names as they are used to |
515 | separate overrides from each other and from the variable name. | 515 | separate overrides from each other and from the variable name. |
516 | 516 | ||
517 | - *Selecting a Variable:* The :term:`OVERRIDES` variable is a | 517 | - *Selecting a Variable:* The :term:`OVERRIDES` variable is a |
@@ -523,8 +523,8 @@ variable. | |||
523 | 523 | ||
524 | OVERRIDES = "architecture:os:machine" | 524 | OVERRIDES = "architecture:os:machine" |
525 | TEST = "default" | 525 | TEST = "default" |
526 | TEST_os = "osspecific" | 526 | TEST:os = "osspecific" |
527 | TEST_nooverride = "othercondvalue" | 527 | TEST:nooverride = "othercondvalue" |
528 | 528 | ||
529 | In this example, the :term:`OVERRIDES` | 529 | In this example, the :term:`OVERRIDES` |
530 | variable lists three overrides: "architecture", "os", and "machine". | 530 | variable lists three overrides: "architecture", "os", and "machine". |
@@ -567,7 +567,7 @@ variable. | |||
567 | - *Setting a Variable for a Single Task:* BitBake supports setting a | 567 | - *Setting a Variable for a Single Task:* BitBake supports setting a |
568 | variable just for the duration of a single task. Here is an example:: | 568 | variable just for the duration of a single task. Here is an example:: |
569 | 569 | ||
570 | FOO_task-configure = "val 1" | 570 | FOO:task-configure = "val 1" |
571 | FOO:task-compile = "val 2" | 571 | FOO:task-compile = "val 2" |
572 | 572 | ||
573 | In the | 573 | In the |