diff options
| author | Scott Rifenbark <srifenbark@gmail.com> | 2016-07-21 10:51:11 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-02 15:22:15 +0100 |
| commit | eb282b797e07f807f8c9c86439c8c906b78f9412 (patch) | |
| tree | 38b9e694586a51225d74a60ee96010ffc4a7092d /bitbake/doc | |
| parent | 6aaf37911965cbbdf7ac18433613d3fec356f906 (diff) | |
| download | poky-eb282b797e07f807f8c9c86439c8c906b78f9412.tar.gz | |
bitbake: bitbake-user-manual: Fixed override operator syntax.
I had inconsistent usage of the "_append" style operator syntax
in the chaper. I was using a mix of <filename>_append</filename>
and "_append". I changed to "_append" for consistency.
(Bitbake rev: 5c5b88e402376268baa15c5d04d2592f28d76751)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/doc')
| -rw-r--r-- | bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml index a3bfce7978..436abd5ec1 100644 --- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml +++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml | |||
| @@ -280,8 +280,7 @@ | |||
| 280 | </para> | 280 | </para> |
| 281 | 281 | ||
| 282 | <para> | 282 | <para> |
| 283 | Like <filename>_append</filename> and | 283 | Like "_append" and "_prepend", "_remove" |
| 284 | <filename>_prepend</filename>, <filename>_remove</filename> | ||
| 285 | is deferred until after parsing completes. | 284 | is deferred until after parsing completes. |
| 286 | </para> | 285 | </para> |
| 287 | </section> | 286 | </section> |
| @@ -294,7 +293,7 @@ | |||
| 294 | "_append", "_prepend", and "_remove" as compared to the | 293 | "_append", "_prepend", and "_remove" as compared to the |
| 295 | "+=" and "=+" operators is that the override style | 294 | "+=" and "=+" operators is that the override style |
| 296 | operators provide guaranteed operations. | 295 | operators provide guaranteed operations. |
| 297 | For example, consider a class iilename>foo.bbclass</filename> | 296 | For example, consider a class <filename>foo.bbclass</filename> |
| 298 | that needs to add the value "val" to the variable | 297 | that needs to add the value "val" to the variable |
| 299 | <filename>FOO</filename>, and a recipe that uses | 298 | <filename>FOO</filename>, and a recipe that uses |
| 300 | <filename>foo.bbclass</filename> as follows: | 299 | <filename>foo.bbclass</filename> as follows: |
| @@ -350,8 +349,7 @@ | |||
| 350 | You can define, append, and prepend values to variable flags. | 349 | You can define, append, and prepend values to variable flags. |
| 351 | All the standard syntax operations previously mentioned work | 350 | All the standard syntax operations previously mentioned work |
| 352 | for variable flags except for override style syntax | 351 | for variable flags except for override style syntax |
| 353 | (i.e. <filename>_prepend</filename>, <filename>_append</filename>, | 352 | (i.e. "_prepend", "_append", and "_remove"). |
| 354 | and <filename>_remove</filename>). | ||
| 355 | </para> | 353 | </para> |
| 356 | 354 | ||
| 357 | <para> | 355 | <para> |
| @@ -645,7 +643,7 @@ | |||
| 645 | Initially, <filename>A</filename> is set to "1 45" because | 643 | Initially, <filename>A</filename> is set to "1 45" because |
| 646 | of the three statements that use immediate operators. | 644 | of the three statements that use immediate operators. |
| 647 | After these assignments are made, BitBake applies the | 645 | After these assignments are made, BitBake applies the |
| 648 | <filename>_append</filename> operations. | 646 | "_append" operations. |
| 649 | Those operations result in <filename>A</filename> becoming "1 4523". | 647 | Those operations result in <filename>A</filename> becoming "1 4523". |
| 650 | </para> | 648 | </para> |
| 651 | </section> | 649 | </section> |
