diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2014-03-07 12:41:08 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-09 18:59:04 -0700 |
commit | da6926bc6a17478bd38f0df176116b6552c124f6 (patch) | |
tree | 4a08504d87891a6a296f7794f3476e56f7febd4a /bitbake/doc/user-manual/user-manual-metadata.xml | |
parent | 40ab94036081f9fdc4ebf6126b077149c2a97c31 (diff) | |
download | poky-da6926bc6a17478bd38f0df176116b6552c124f6.tar.gz |
bitbake: user-manual: Review edits applied throughout from Paul Eggleton.
Applied review edits from Paul Eggleton spanning the entire book.
Small areas affected in all chapters except the "Hello World"
Appendix.
Noteworthy changes in the variables chapter where I added two new
variables: BBINCLUDELOGS_LINES and BB_CONSOLELOG.
(Bitbake rev: 2d4b09be70c6df0c1605f7e291149c682999cf50)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/doc/user-manual/user-manual-metadata.xml')
-rw-r--r-- | bitbake/doc/user-manual/user-manual-metadata.xml | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/bitbake/doc/user-manual/user-manual-metadata.xml b/bitbake/doc/user-manual/user-manual-metadata.xml index 3a19b96303..f7682c0fed 100644 --- a/bitbake/doc/user-manual/user-manual-metadata.xml +++ b/bitbake/doc/user-manual/user-manual-metadata.xml | |||
@@ -41,14 +41,18 @@ | |||
41 | contents using a syntax that is similar to shell scripting. | 41 | contents using a syntax that is similar to shell scripting. |
42 | Following is an example that results in <filename>A</filename> | 42 | Following is an example that results in <filename>A</filename> |
43 | containing "aval" and <filename>B</filename> evaluating to | 43 | containing "aval" and <filename>B</filename> evaluating to |
44 | "preavalpost". | 44 | "preavalpost" based on that current value of |
45 | <filename>A</filename>. | ||
45 | <literallayout class='monospaced'> | 46 | <literallayout class='monospaced'> |
46 | A = "aval" | 47 | A = "aval" |
47 | B = "pre${A}post" | 48 | B = "pre${A}post" |
48 | </literallayout> | 49 | </literallayout> |
49 | Because the expansion happens later, the value of | 50 | You should realize that whenever <filename>B</filename> is |
50 | <filename>B</filename> expands differently if the value | 51 | referenced, its evaluation will depend on the state of |
51 | of <filename>A</filename> changes. | 52 | <filename>A</filename> at that time. |
53 | Thus, later evaluations of <filename>B</filename> in the | ||
54 | previous example could result in different values | ||
55 | depending on the value of <filename>A</filename>. | ||
52 | </para> | 56 | </para> |
53 | </section> | 57 | </section> |
54 | 58 | ||
@@ -1387,19 +1391,16 @@ | |||
1387 | Using "expand=True" expands the value.</entry> | 1391 | Using "expand=True" expands the value.</entry> |
1388 | </row> | 1392 | </row> |
1389 | <row> | 1393 | <row> |
1390 | <entry align="left"><filename>d.setVar("X", value)</filename></entry> | 1394 | <entry align="left"><filename>d.setVar("X", "value")</filename></entry> |
1391 | <entry align="left">Sets the variable "X" to the value of the Python | 1395 | <entry align="left">Sets the variable "X" to "value".</entry> |
1392 | variable called "value".</entry> | ||
1393 | </row> | 1396 | </row> |
1394 | <row> | 1397 | <row> |
1395 | <entry align="left"><filename>d.appendVar("X", value)</filename></entry> | 1398 | <entry align="left"><filename>d.appendVar("X", "value")</filename></entry> |
1396 | <entry align="left">Adds the value of the Python variable called | 1399 | <entry align="left">Adds "value" to the end of the variable "X".</entry> |
1397 | "value" to the end of the variable "X".</entry> | ||
1398 | </row> | 1400 | </row> |
1399 | <row> | 1401 | <row> |
1400 | <entry align="left"><filename>d.prependVar("X", value)</filename></entry> | 1402 | <entry align="left"><filename>d.prependVar("X", "value")</filename></entry> |
1401 | <entry align="left">Adds the value of the Python variable called | 1403 | <entry align="left">Adds "value" to the start of the variable "X".</entry> |
1402 | "value" to the start of the variable "X".</entry> | ||
1403 | </row> | 1404 | </row> |
1404 | <row> | 1405 | <row> |
1405 | <entry align="left"><filename>d.delVar("X")</filename></entry> | 1406 | <entry align="left"><filename>d.delVar("X")</filename></entry> |
@@ -1415,18 +1416,17 @@ | |||
1415 | Using "expand=True" expands the named flag.</entry> | 1416 | Using "expand=True" expands the named flag.</entry> |
1416 | </row> | 1417 | </row> |
1417 | <row> | 1418 | <row> |
1418 | <entry align="left"><filename>d.setVarFlag("X", flag, value)</filename></entry> | 1419 | <entry align="left"><filename>d.setVarFlag("X", flag, "value")</filename></entry> |
1419 | <entry align="left">Sets the named flag for variable "X" to the value | 1420 | <entry align="left">Sets the named flag for variable "X" to "value".</entry> |
1420 | of the Python variable called "value".</entry> | ||
1421 | </row> | 1421 | </row> |
1422 | <row> | 1422 | <row> |
1423 | <entry align="left"><filename>d.appendVarFlag("X", flag, value)</filename></entry> | 1423 | <entry align="left"><filename>d.appendVarFlag("X", flag, "value")</filename></entry> |
1424 | <entry align="left">Appends a value to the named flag on the | 1424 | <entry align="left">Appends "value" to the named flag on the |
1425 | variable "X".</entry> | 1425 | variable "X".</entry> |
1426 | </row> | 1426 | </row> |
1427 | <row> | 1427 | <row> |
1428 | <entry align="left"><filename>d.prependVarFlag("X", flag, value)</filename></entry> | 1428 | <entry align="left"><filename>d.prependVarFlag("X", flag, "value")</filename></entry> |
1429 | <entry align="left">Prepends a value to the named flag on | 1429 | <entry align="left">Prepends "value" to the named flag on |
1430 | the variable "X".</entry> | 1430 | the variable "X".</entry> |
1431 | </row> | 1431 | </row> |
1432 | <row> | 1432 | <row> |