summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual/usingpoky.xml
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2014-06-11 10:46:05 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-06-18 10:30:48 +0100
commita19f575cde39917e4632dab1e813d84402f95937 (patch)
tree856fc2d185f4eef07af46a14f1e659285793e42b /documentation/ref-manual/usingpoky.xml
parent50af2dc53778c712c21538f82025427d558cba63 (diff)
downloadpoky-a19f575cde39917e4632dab1e813d84402f95937.tar.gz
dev-manual, kernel-dev, ref-manual: Updated task name usage.
There was inconsistency on how we refer to a task name throughout the YP manual set. The proper way is "do_<taskname>". Some occurrences did not include the "do_" prefix. These have been fixed. (From yocto-docs rev: b32821bb0d3e6de7bca68b25c662a023526a10c4) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual/usingpoky.xml')
-rw-r--r--documentation/ref-manual/usingpoky.xml35
1 files changed, 20 insertions, 15 deletions
diff --git a/documentation/ref-manual/usingpoky.xml b/documentation/ref-manual/usingpoky.xml
index 3748ac21bb..3c82d8185b 100644
--- a/documentation/ref-manual/usingpoky.xml
+++ b/documentation/ref-manual/usingpoky.xml
@@ -173,17 +173,20 @@
173 173
174 <para> 174 <para>
175 Any given package consists of a set of tasks. 175 Any given package consists of a set of tasks.
176 The standard BitBake behavior in most cases is: <filename>fetch</filename>, 176 The standard BitBake behavior in most cases is:
177 <filename>unpack</filename>, 177 <filename>do_fetch</filename>,
178 <filename>patch</filename>, <filename>configure</filename>, 178 <filename>do_unpack</filename>,
179 <filename>compile</filename>, <filename>install</filename>, <filename>package</filename>, 179 <filename>do_patch</filename>, <filename>do_configure</filename>,
180 <filename>package_write</filename>, and <filename>build</filename>. 180 <filename>do_compile</filename>, <filename>do_install</filename>,
181 The default task is <filename>build</filename> and any tasks on which it depends 181 <filename>do_package</filename>,
182 build first. 182 <filename>do_package_write</filename>, and
183 Some tasks, such as <filename>devshell</filename>, are not part of the 183 <filename>do_build</filename>.
184 default build chain. 184 The default task is <filename>do_build</filename> and any tasks
185 If you wish to run a task that is not part of the default build chain, you can use the 185 on which it depends build first.
186 <filename>-c</filename> option in BitBake. 186 Some tasks, such as <filename>do_devshell</filename>, are not part
187 of the default build chain.
188 If you wish to run a task that is not part of the default build
189 chain, you can use the <filename>-c</filename> option in BitBake.
187 Here is an example: 190 Here is an example:
188 <literallayout class='monospaced'> 191 <literallayout class='monospaced'>
189 $ bitbake matchbox-desktop -c devshell 192 $ bitbake matchbox-desktop -c devshell
@@ -210,14 +213,16 @@
210 <para> 213 <para>
211 This sequence first builds and then recompiles 214 This sequence first builds and then recompiles
212 <filename>matchbox-desktop</filename>. 215 <filename>matchbox-desktop</filename>.
213 The last command reruns all tasks (basically the packaging tasks) after the compile. 216 The last command reruns all tasks (basically the packaging tasks)
214 BitBake recognizes that the <filename>compile</filename> task was rerun and therefore 217 after the compile.
215 understands that the other tasks also need to be run again. 218 BitBake recognizes that the <filename>do_compile</filename>
219 task was rerun and therefore understands that the other tasks
220 also need to be run again.
216 </para> 221 </para>
217 222
218 <para> 223 <para>
219 You can view a list of tasks in a given package by running the 224 You can view a list of tasks in a given package by running the
220 <filename>listtasks</filename> task as follows: 225 <filename>do_listtasks</filename> task as follows:
221 <literallayout class='monospaced'> 226 <literallayout class='monospaced'>
222 $ bitbake matchbox-desktop -c listtasks 227 $ bitbake matchbox-desktop -c listtasks
223 </literallayout> 228 </literallayout>