From be0fb616e64e54ae3e2420249f21f4edfd97d648 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Wed, 3 Aug 2016 17:44:53 -0700 Subject: bitbake-user-manual: Formatted all "flags" to be consistent Fixes [YOCTO #10071] The use of any flags throughout the manual was very inconsistent. I changed all references to any named flag in the text to be formatted as code and to be enclosed in square brackets. Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- .../bitbake-user-manual-execution.xml | 5 +- .../bitbake-user-manual-metadata.xml | 63 ++++++++++++---------- 2 files changed, 37 insertions(+), 31 deletions(-) diff --git a/doc/bitbake-user-manual/bitbake-user-manual-execution.xml b/doc/bitbake-user-manual/bitbake-user-manual-execution.xml index b1b72e0aa..7b4459c95 100644 --- a/doc/bitbake-user-manual/bitbake-user-manual-execution.xml +++ b/doc/bitbake-user-manual/bitbake-user-manual-execution.xml @@ -596,7 +596,7 @@ "Checksums (Signatures)" section for information). It is also possible to append extra metadata to the stamp using - the "stamp-extra-info" task flag. + the [stamp-extra-info] task flag. For example, OpenEmbedded uses this flag to make some tasks machine-specific. @@ -653,7 +653,8 @@ It is possible to have functions run before and after a task's main function. - This is done using the "prefuncs" and "postfuncs" flags of the task + This is done using the [prefuncs] + and [postfuncs] flags of the task that lists the functions to run. diff --git a/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml b/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml index 6fa814866..4beb5a1d8 100644 --- a/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml +++ b/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml @@ -372,9 +372,9 @@ FOO[a] += "456" The variable FOO has two flags: - a and b. + [a] and [b]. The flags are immediately set to "abc" and "123", respectively. - The a flag becomes "abc 456". + The [a] flag becomes "abc 456". @@ -1270,7 +1270,7 @@ If you want dependencies such as these to remain intact, use - the noexec varflag to disable the task + the [noexec] varflag to disable the task instead of using the deltask command to delete it: @@ -1393,13 +1393,13 @@ Tasks support a number of these flags which control various functionality of the task: - cleandirs: + [cleandirs]: Empty directories that should be created before the task runs. Directories that already exist are removed and recreated to empty them. - depends: + [depends]: Controls inter-task dependencies. See the DEPENDS @@ -1407,7 +1407,7 @@ "Inter-Task Dependencies" section for more information. - deptask: + [deptask]: Controls task build-time dependencies. See the DEPENDS @@ -1415,13 +1415,13 @@ "Build Dependencies" section for more information. - dirs: + [dirs]: Directories that should be created before the task runs. Directories that already exist are left as is. The last directory listed is used as the current working directory for the task. - lockfiles: + [lockfiles]: Specifies one or more lockfiles to lock while the task executes. Only one task may hold a lockfile, and any task that @@ -1430,23 +1430,23 @@ You can use this variable flag to accomplish mutual exclusion. - noexec: + [noexec]: Marks the tasks as being empty and no execution required. - The noexec flag can be used to set up + The [noexec] flag can be used to set up tasks as dependency placeholders, or to disable tasks defined elsewhere that are not needed in a particular recipe. - nostamp: + [nostamp]: Tells BitBake to not generate a stamp file for a task, which implies the task should always be executed. - postfuncs: + [postfuncs]: List of functions to call after the completion of the task. - prefuncs: + [prefuncs]: List of functions to call before the task executes. - rdepends: + [rdepends]: Controls inter-task runtime dependencies. See the RDEPENDS @@ -1456,7 +1456,7 @@ "Inter-Task Dependencies" section for more information. - rdeptask: + [rdeptask]: Controls task runtime dependencies. See the RDEPENDS @@ -1466,12 +1466,12 @@ "Runtime Dependencies" section for more information. - recideptask: + [recideptask]: When set in conjunction with recrdeptask, specifies a task that should be inspected for additional dependencies. - recrdeptask: + [recrdeptask]: Controls task recursive runtime dependencies. See the RDEPENDS @@ -1481,12 +1481,12 @@ "Recursive Dependencies" section for more information. - stamp-extra-info: + [stamp-extra-info]: Extra stamp information to append to the task's stamp. As an example, OpenEmbedded uses this flag to allow machine-specific tasks. - umask: + [umask]: The umask to run the task under. @@ -1499,7 +1499,7 @@ "Checksums (Signatures)" section. - vardeps: + [vardeps]: Specifies a space-separated list of additional variables to add to a variable's dependencies for the purposes of calculating its signature. @@ -1508,17 +1508,17 @@ does not allow BitBake to automatically determine that the variable is referred to. - vardepsexclude: + [vardepsexclude]: Specifies a space-separated list of variables that should be excluded from a variable's dependencies for the purposes of calculating its signature. - vardepvalue: + [vardepvalue]: If set, instructs BitBake to ignore the actual value of the variable and instead use the specified value when calculating the variable's signature. - vardepvalueexclude: + [vardepvalueexclude]: Specifies a pipe-separated list of strings to exclude from the variable's value when calculating the variable's signature. @@ -1816,7 +1816,8 @@ BitBake uses the DEPENDS variable to manage build time dependencies. - The "deptask" varflag for tasks signifies the task of each + The [deptask] varflag for tasks + signifies the task of each item listed in DEPENDS that must complete before that task can be executed. Here is an example: @@ -1845,7 +1846,8 @@ packages. Each of those packages can have RDEPENDS and RRECOMMENDS runtime dependencies. - The "rdeptask" flag for tasks is used to signify the task of each + The [rdeptask] flag for tasks is used to + signify the task of each item runtime dependency which must have completed before that task can be executed. @@ -1861,7 +1863,7 @@ Recursive Dependencies - BitBake uses the "recrdeptask" flag to manage + BitBake uses the [recrdeptask] flag to manage recursive task dependencies. BitBake looks through the build-time and runtime dependencies of the current recipe, looks through @@ -1875,7 +1877,8 @@ - The "recrdeptask" flag is most commonly used in high-level + The [recrdeptask] flag is most commonly + used in high-level recipes that need to wait for some task to finish "globally". For example, image.bbclass has the following: @@ -1905,7 +1908,8 @@ Inter-Task Dependencies - BitBake uses the "depends" flag in a more generic form + BitBake uses the [depends] + flag in a more generic form to manage inter-task dependencies. This more generic form allows for inter-dependency checks for specific tasks rather than checks for @@ -1921,7 +1925,8 @@ - The "rdepends" flag works in a similar way but takes targets + The [rdepends] flag works in a similar + way but takes targets in the runtime namespace instead of the build-time dependency namespace. -- cgit 1.2.3-korg