1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-01 00:59:48 +00:00

overview-manual: Updated the "Configuration and Compilation" section

This section needed some verbiage tweaks.  Nothing major.  Just a
few modifications to help clarify some areas.

(From yocto-docs rev: 9deabf424387fd1441882ce8cf28ea69421ea237)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark
2018-05-08 10:30:28 -07:00
committed by Richard Purdie
parent 380dfcbd8f
commit 2029d463a7
@@ -1296,12 +1296,15 @@
<para> <para>
After source code is patched, BitBake executes tasks that After source code is patched, BitBake executes tasks that
configure and compile the source code: configure and compile the source code.
Once compilation occurs, the files are copied to a holding
area in preparation for packaging:
<imagedata fileref="figures/configuration-compile-autoreconf.png" align="center" width="7in" depth="5in" /> <imagedata fileref="figures/configuration-compile-autoreconf.png" align="center" width="7in" depth="5in" />
</para> </para>
<para> <para>
This step in the build process consists of three tasks: This step in the build process consists of the following
tasks:
<itemizedlist> <itemizedlist>
<listitem><para> <listitem><para>
<emphasis><ulink url='&YOCTO_DOCS_REF_URL;#ref-tasks-prepare_recipe_sysroot'><filename>do_prepare_recipe_sysroot</filename></ulink></emphasis>: <emphasis><ulink url='&YOCTO_DOCS_REF_URL;#ref-tasks-prepare_recipe_sysroot'><filename>do_prepare_recipe_sysroot</filename></ulink></emphasis>:
@@ -1329,8 +1332,8 @@
<para>The configurations handled by the <para>The configurations handled by the
<ulink url='&YOCTO_DOCS_REF_URL;#ref-tasks-configure'><filename>do_configure</filename></ulink> <ulink url='&YOCTO_DOCS_REF_URL;#ref-tasks-configure'><filename>do_configure</filename></ulink>
task are specific to source code configuration for task are specific to configurations for the source
the source code being built by the recipe.</para> code being built by the recipe.</para>
<para>If you are using the <para>If you are using the
<ulink url='&YOCTO_DOCS_REF_URL;#ref-classes-autotools'><filename>autotools</filename></ulink> <ulink url='&YOCTO_DOCS_REF_URL;#ref-classes-autotools'><filename>autotools</filename></ulink>
@@ -1342,13 +1345,14 @@
variables. variables.
For information on how this variable works within For information on how this variable works within
that class, see the that class, see the
<filename>meta/classes/autotools.bbclass</filename> <ulink url='&YOCTO_DOCS_REF_URL;#ref-classes-autotools'><filename>autotools</filename></ulink>
file. class
<ulink url='&YOCTO_GIT_URL;/cgit/cgit.cgi/poky/tree/meta/classes/autotools.bbclass'>here</ulink>.
</para></listitem> </para></listitem>
<listitem><para> <listitem><para>
<emphasis><filename>do_compile</filename></emphasis>: <emphasis><filename>do_compile</filename></emphasis>:
Once a configuration task has been satisfied, BitBake Once a configuration task has been satisfied,
compiles the source using the BitBake compiles the source using the
<ulink url='&YOCTO_DOCS_REF_URL;#ref-tasks-compile'><filename>do_compile</filename></ulink> <ulink url='&YOCTO_DOCS_REF_URL;#ref-tasks-compile'><filename>do_compile</filename></ulink>
task. task.
Compilation occurs in the directory pointed to by Compilation occurs in the directory pointed to by
@@ -1362,7 +1366,7 @@
</para></listitem> </para></listitem>
<listitem><para> <listitem><para>
<emphasis><filename>do_install</filename></emphasis>: <emphasis><filename>do_install</filename></emphasis>:
Once compilation is done, BitBake executes the After compilation completes, BitBake executes the
<ulink url='&YOCTO_DOCS_REF_URL;#ref-tasks-install'><filename>do_install</filename></ulink> <ulink url='&YOCTO_DOCS_REF_URL;#ref-tasks-install'><filename>do_install</filename></ulink>
task. task.
This task copies files from the This task copies files from the
@@ -1370,6 +1374,8 @@
in a holding area pointed to by the in a holding area pointed to by the
<ulink url='&YOCTO_DOCS_REF_URL;#var-D'><filename>D</filename></ulink> <ulink url='&YOCTO_DOCS_REF_URL;#var-D'><filename>D</filename></ulink>
variable. variable.
Packaging occurs later using files from this
holding directory.
</para></listitem> </para></listitem>
</itemizedlist> </itemizedlist>
</para> </para>