diff options
| author | Scott Rifenbark <srifenbark@gmail.com> | 2018-05-08 10:30:28 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-05-24 17:16:31 +0100 |
| commit | 2029d463a74cbd737ed21cdecd03ef7f2f78711c (patch) | |
| tree | 55ac1e0edff3301f1a19eb124ea943477b51c2a9 /documentation | |
| parent | 380dfcbd8f2136ec4ba3fa6d261f6dd634209f8d (diff) | |
| download | poky-2029d463a74cbd737ed21cdecd03ef7f2f78711c.tar.gz | |
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>
Diffstat (limited to 'documentation')
| -rw-r--r-- | documentation/overview-manual/overview-manual-concepts.xml | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/documentation/overview-manual/overview-manual-concepts.xml b/documentation/overview-manual/overview-manual-concepts.xml index 78bf64f69a..3f53af87dc 100644 --- a/documentation/overview-manual/overview-manual-concepts.xml +++ b/documentation/overview-manual/overview-manual-concepts.xml | |||
| @@ -1296,12 +1296,15 @@ | |||
| 1296 | 1296 | ||
| 1297 | <para> | 1297 | <para> |
| 1298 | After source code is patched, BitBake executes tasks that | 1298 | After source code is patched, BitBake executes tasks that |
| 1299 | configure and compile the source code: | 1299 | configure and compile the source code. |
| 1300 | Once compilation occurs, the files are copied to a holding | ||
| 1301 | area in preparation for packaging: | ||
| 1300 | <imagedata fileref="figures/configuration-compile-autoreconf.png" align="center" width="7in" depth="5in" /> | 1302 | <imagedata fileref="figures/configuration-compile-autoreconf.png" align="center" width="7in" depth="5in" /> |
| 1301 | </para> | 1303 | </para> |
| 1302 | 1304 | ||
| 1303 | <para> | 1305 | <para> |
| 1304 | This step in the build process consists of three tasks: | 1306 | This step in the build process consists of the following |
| 1307 | tasks: | ||
| 1305 | <itemizedlist> | 1308 | <itemizedlist> |
| 1306 | <listitem><para> | 1309 | <listitem><para> |
| 1307 | <emphasis><ulink url='&YOCTO_DOCS_REF_URL;#ref-tasks-prepare_recipe_sysroot'><filename>do_prepare_recipe_sysroot</filename></ulink></emphasis>: | 1310 | <emphasis><ulink url='&YOCTO_DOCS_REF_URL;#ref-tasks-prepare_recipe_sysroot'><filename>do_prepare_recipe_sysroot</filename></ulink></emphasis>: |
| @@ -1329,8 +1332,8 @@ | |||
| 1329 | 1332 | ||
| 1330 | <para>The configurations handled by the | 1333 | <para>The configurations handled by the |
| 1331 | <ulink url='&YOCTO_DOCS_REF_URL;#ref-tasks-configure'><filename>do_configure</filename></ulink> | 1334 | <ulink url='&YOCTO_DOCS_REF_URL;#ref-tasks-configure'><filename>do_configure</filename></ulink> |
| 1332 | task are specific to source code configuration for | 1335 | task are specific to configurations for the source |
| 1333 | the source code being built by the recipe.</para> | 1336 | code being built by the recipe.</para> |
| 1334 | 1337 | ||
| 1335 | <para>If you are using the | 1338 | <para>If you are using the |
| 1336 | <ulink url='&YOCTO_DOCS_REF_URL;#ref-classes-autotools'><filename>autotools</filename></ulink> | 1339 | <ulink url='&YOCTO_DOCS_REF_URL;#ref-classes-autotools'><filename>autotools</filename></ulink> |
| @@ -1342,13 +1345,14 @@ | |||
| 1342 | variables. | 1345 | variables. |
| 1343 | For information on how this variable works within | 1346 | For information on how this variable works within |
| 1344 | that class, see the | 1347 | that class, see the |
| 1345 | <filename>meta/classes/autotools.bbclass</filename> | 1348 | <ulink url='&YOCTO_DOCS_REF_URL;#ref-classes-autotools'><filename>autotools</filename></ulink> |
| 1346 | file. | 1349 | class |
| 1350 | <ulink url='&YOCTO_GIT_URL;/cgit/cgit.cgi/poky/tree/meta/classes/autotools.bbclass'>here</ulink>. | ||
| 1347 | </para></listitem> | 1351 | </para></listitem> |
| 1348 | <listitem><para> | 1352 | <listitem><para> |
| 1349 | <emphasis><filename>do_compile</filename></emphasis>: | 1353 | <emphasis><filename>do_compile</filename></emphasis>: |
| 1350 | Once a configuration task has been satisfied, BitBake | 1354 | Once a configuration task has been satisfied, |
| 1351 | compiles the source using the | 1355 | BitBake compiles the source using the |
| 1352 | <ulink url='&YOCTO_DOCS_REF_URL;#ref-tasks-compile'><filename>do_compile</filename></ulink> | 1356 | <ulink url='&YOCTO_DOCS_REF_URL;#ref-tasks-compile'><filename>do_compile</filename></ulink> |
| 1353 | task. | 1357 | task. |
| 1354 | Compilation occurs in the directory pointed to by | 1358 | Compilation occurs in the directory pointed to by |
| @@ -1362,7 +1366,7 @@ | |||
| 1362 | </para></listitem> | 1366 | </para></listitem> |
| 1363 | <listitem><para> | 1367 | <listitem><para> |
| 1364 | <emphasis><filename>do_install</filename></emphasis>: | 1368 | <emphasis><filename>do_install</filename></emphasis>: |
| 1365 | Once compilation is done, BitBake executes the | 1369 | After compilation completes, BitBake executes the |
| 1366 | <ulink url='&YOCTO_DOCS_REF_URL;#ref-tasks-install'><filename>do_install</filename></ulink> | 1370 | <ulink url='&YOCTO_DOCS_REF_URL;#ref-tasks-install'><filename>do_install</filename></ulink> |
| 1367 | task. | 1371 | task. |
| 1368 | This task copies files from the | 1372 | This task copies files from the |
| @@ -1370,6 +1374,8 @@ | |||
| 1370 | in a holding area pointed to by the | 1374 | in a holding area pointed to by the |
| 1371 | <ulink url='&YOCTO_DOCS_REF_URL;#var-D'><filename>D</filename></ulink> | 1375 | <ulink url='&YOCTO_DOCS_REF_URL;#var-D'><filename>D</filename></ulink> |
| 1372 | variable. | 1376 | variable. |
| 1377 | Packaging occurs later using files from this | ||
| 1378 | holding directory. | ||
| 1373 | </para></listitem> | 1379 | </para></listitem> |
| 1374 | </itemizedlist> | 1380 | </itemizedlist> |
| 1375 | </para> | 1381 | </para> |
