bitbake: bitbake-user-manual: Fixes small typos for 'addtask' section

Fixes [YOCTO #10401]

Applied some edits to various areas of the section.  These
were minor in nature.

(Bitbake rev: ec99f168fd0d6feca67f2890917ba4829933c73b)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark 2016-10-11 07:59:46 -07:00 committed by Richard Purdie
parent ce70355260
commit 19d39be99b
1 changed files with 3 additions and 3 deletions

View File

@ -1553,7 +1553,7 @@
optionally describe dependencies between the optionally describe dependencies between the
task and other tasks. task and other tasks.
Here is an example that shows how to define a task Here is an example that shows how to define a task
and to declare some dependencies: and declare some dependencies:
<literallayout class='monospaced'> <literallayout class='monospaced'>
python do_printdate () { python do_printdate () {
import time import time
@ -1583,7 +1583,7 @@
results in the <filename>do_printdate</filename> results in the <filename>do_printdate</filename>
task running first. task running first.
<note> <note>
If you try out the previous example, you might see If you try out the previous example, you might see that
the <filename>do_printdate</filename> task is only run the <filename>do_printdate</filename> task is only run
the first time you build the recipe with the first time you build the recipe with
the <filename>bitbake</filename> command. the <filename>bitbake</filename> command.
@ -1618,7 +1618,7 @@
</literallayout> </literallayout>
In this example, assuming dependencies have not been In this example, assuming dependencies have not been
added through some other means, the only way to run added through some other means, the only way to run
the task is by explicitly selecting it with the the task is by explicitly selecting it with
<filename>bitbake</filename>&nbsp;<replaceable>recipe</replaceable>&nbsp;<filename>-c printdate</filename>. <filename>bitbake</filename>&nbsp;<replaceable>recipe</replaceable>&nbsp;<filename>-c printdate</filename>.
You can use the You can use the
<filename>do_listtasks</filename> task to list all tasks <filename>do_listtasks</filename> task to list all tasks