documentation/kernel-manual/kernel-how-to.xml: Updated build strategy

This section used the term "tree construction" somewhat out of context.
The section really focuses on what the build process and the user does
prior to compilation.  I changed wording to indicate the tree is
validated to be sure that the SRC_URI point to the right stuff and
that the BSP build branch exists.

(From yocto-docs rev: e6332d5045b21354b53bbbe1203f9d52d4d97964)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark 2011-09-30 11:13:31 -07:00 committed by Richard Purdie
parent 6b2ae5fd17
commit 5fe2c53493
1 changed files with 8 additions and 9 deletions

View File

@ -140,14 +140,14 @@
<para> <para>
Once a local Git repository of the Linux Yocto kernel exists on a development system, Once a local Git repository of the Linux Yocto kernel exists on a development system,
you can consider the compilation phase of kernel development - building a kernel image. you can consider the compilation phase of kernel development - building a kernel image.
Some prerequisites exist that must be met before starting the compilation Some prerequisites exist that are validated by the build process before compilation
phase of the kernel build system: starts:
</para> </para>
<itemizedlist> <itemizedlist>
<listitem><para>The <filename>SRC_URI</filename> must point to the kernel Git <listitem><para>The <filename>SRC_URI</filename> points to the kernel Git
repository.</para></listitem> repository.</para></listitem>
<listitem><para>A BSP build branch must exist. <listitem><para>A BSP build branch exists.
This branch has the following form: This branch has the following form:
<literallayout class='monospaced'> <literallayout class='monospaced'>
&lt;kernel_type&gt;/&lt;bsp_name&gt; &lt;kernel_type&gt;/&lt;bsp_name&gt;
@ -155,15 +155,14 @@
</itemizedlist> </itemizedlist>
<para> <para>
You can typically meet these prerequisites by running the tree construction/patching phase The Yocto Project makes sure these conditions exist before attempting compilation.
of the build system. Other means, however, do exist, such as as bootstrapping a BSP, see
However, other means do exist.
For examples of alternate workflows such as bootstrapping a BSP, see
the "<link linkend='workflow-examples'>Workflow Examples</link>". the "<link linkend='workflow-examples'>Workflow Examples</link>".
</para> </para>
<para> <para>
Before building a kernel, the build process configures the kernel by processing all of the Before building a kernel, the build process verifies the tree
and configures the kernel by processing all of the
configuration "fragments" specified by feature descriptions in the <filename>.scc</filename> configuration "fragments" specified by feature descriptions in the <filename>.scc</filename>
files. files.
As the features are compiled, associated kernel configuration fragments are noted As the features are compiled, associated kernel configuration fragments are noted