From da6926bc6a17478bd38f0df176116b6552c124f6 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Fri, 7 Mar 2014 12:41:08 -0600 Subject: 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 Signed-off-by: Richard Purdie --- bitbake/doc/user-manual/user-manual-metadata.xml | 40 ++++++++++++------------ 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'bitbake/doc/user-manual/user-manual-metadata.xml') 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 @@ contents using a syntax that is similar to shell scripting. Following is an example that results in A containing "aval" and B evaluating to - "preavalpost". + "preavalpost" based on that current value of + A. A = "aval" B = "pre${A}post" - Because the expansion happens later, the value of - B expands differently if the value - of A changes. + You should realize that whenever B is + referenced, its evaluation will depend on the state of + A at that time. + Thus, later evaluations of B in the + previous example could result in different values + depending on the value of A. @@ -1387,19 +1391,16 @@ Using "expand=True" expands the value. - d.setVar("X", value) - Sets the variable "X" to the value of the Python - variable called "value". + d.setVar("X", "value") + Sets the variable "X" to "value". - d.appendVar("X", value) - Adds the value of the Python variable called - "value" to the end of the variable "X". + d.appendVar("X", "value") + Adds "value" to the end of the variable "X". - d.prependVar("X", value) - Adds the value of the Python variable called - "value" to the start of the variable "X". + d.prependVar("X", "value") + Adds "value" to the start of the variable "X". d.delVar("X") @@ -1415,18 +1416,17 @@ Using "expand=True" expands the named flag. - d.setVarFlag("X", flag, value) - Sets the named flag for variable "X" to the value - of the Python variable called "value". + d.setVarFlag("X", flag, "value") + Sets the named flag for variable "X" to "value". - d.appendVarFlag("X", flag, value) - Appends a value to the named flag on the + d.appendVarFlag("X", flag, "value") + Appends "value" to the named flag on the variable "X". - d.prependVarFlag("X", flag, value) - Prepends a value to the named flag on + d.prependVarFlag("X", flag, "value") + Prepends "value" to the named flag on the variable "X". -- cgit v1.2.3-54-g00ecf