dev-manual: Applied review edits to the "writing new recipe"

Applied various edits to the "Writing a New Recipe" section.
Several nits.

(From yocto-docs rev: 17818ff89805e0df3a0445f64a4f9133550fa7d0)

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-09-22 07:56:25 -07:00 committed by Richard Purdie
parent 285931e0d4
commit b8ad433ff3
1 changed files with 9 additions and 10 deletions

View File

@ -1260,11 +1260,11 @@
<listitem><para> <listitem><para>
<emphasis><filename>devtool add</filename>:</emphasis> <emphasis><filename>devtool add</filename>:</emphasis>
A command that assists in creating a recipe and A command that assists in creating a recipe and
an environment condusive to development. an environment conducive to development.
</para></listitem> </para></listitem>
<listitem><para> <listitem><para>
<emphasis><filename>recipetool</filename>:</emphasis> <emphasis><filename>recipetool create</filename>:</emphasis>
A tool provided by the Yocto Project that automates A command provided by the Yocto Project that automates
creation of a base recipe based on the source creation of a base recipe based on the source
files. files.
</para></listitem> </para></listitem>
@ -1294,18 +1294,17 @@
<para> <para>
You can find a complete description of the You can find a complete description of the
<filename>devtool add</filename> command in the <filename>devtool add</filename> command in the
"<ulink url='&YOCTO_DOCS_SDK_URL;#sdk-use-devtool-to-add-an-application'>Use <filename>devtool add</filename> to Add an Application</ulink>" "<link linkend='use-devtool-to-integrate-new-code'>Use <filename>devtool add</filename> to Add an Application</link>"
section in the Yocto Project Software Development Kit (SDK) section.
Developer's Guide.
</para> </para>
</section> </section>
<section id='new-recipe-creating-the-base-recipe-using-recipetool'> <section id='new-recipe-creating-the-base-recipe-using-recipetool'>
<title>Creating the Base Recipe Using <filename>recipetool</filename></title> <title>Creating the Base Recipe Using <filename>recipetool create</filename></title>
<para> <para>
<filename>recipetool</filename> automates creation of <filename>recipetool create</filename> automates creation
a base recipe given a set of source code files. of a base recipe given a set of source code files.
As long as you can extract or point to the source files, As long as you can extract or point to the source files,
the tool will construct a recipe and automatically the tool will construct a recipe and automatically
configure all pre-build information into the recipe. configure all pre-build information into the recipe.
@ -1832,7 +1831,7 @@
The quickest way to find this path is to have BitBake return it The quickest way to find this path is to have BitBake return it
by running the following: by running the following:
<literallayout class='monospaced'> <literallayout class='monospaced'>
$ bitbake -e recipename | grep ^WORKDIR= $ bitbake -e <replaceable>basename</replaceable> | grep ^WORKDIR=
</literallayout> </literallayout>
As an example, assume a Source Directory top-level folder named As an example, assume a Source Directory top-level folder named
<filename>poky</filename>, a default Build Directory at <filename>poky</filename>, a default Build Directory at