summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual/ref-classes.xml
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2013-12-06 12:41:17 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-12-11 14:18:23 +0000
commit51362f7858dda16840ed4384992062023e9c29dc (patch)
tree980610c49f57b7b6d5450f525509fc80882a497a /documentation/ref-manual/ref-classes.xml
parent54a2ed579dc23fce9527f24204a01dc1d7cc558b (diff)
downloadpoky-51362f7858dda16840ed4384992062023e9c29dc.tar.gz
ref-manual: Review edits to the "C" and "D" classes.
Modifications to ccache, chrpath, clutter, cross, cross-canadian, crosssdk, and debian classes. Added a new variable to the glossary for LEAD_SONAME. (From yocto-docs rev: bfaea19935ed694edee1dc03be37c7dcbebea47f) 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/ref-classes.xml')
-rw-r--r--documentation/ref-manual/ref-classes.xml42
1 files changed, 33 insertions, 9 deletions
diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml
index 5e7fad3ea2..a5a906d5ac 100644
--- a/documentation/ref-manual/ref-classes.xml
+++ b/documentation/ref-manual/ref-classes.xml
@@ -345,7 +345,9 @@
345 <title><filename>ccache.bbclass</filename></title> 345 <title><filename>ccache.bbclass</filename></title>
346 346
347 <para> 347 <para>
348 The <filename>ccache</filename> class enables this cache for the build. 348 The <filename>ccache</filename> class enables the
349 <ulink url='http://ccache.samba.org/'>C/C++ Compiler Cache</ulink>
350 for the build.
349 This class is used to give a minor performance boost during the build. 351 This class is used to give a minor performance boost during the build.
350 However, using the class can lead to unexpected side-effects. 352 However, using the class can lead to unexpected side-effects.
351 Thus, it is recommended that you do not use this class. 353 Thus, it is recommended that you do not use this class.
@@ -360,7 +362,9 @@
360 <para> 362 <para>
361 The <filename>chrpath</filename> class 363 The <filename>chrpath</filename> class
362 is a wrapper around the "chrpath" utility, which is used during the 364 is a wrapper around the "chrpath" utility, which is used during the
363 build process for <filename>nativesdk</filename> recipes to change 365 build process for <filename>nativesdk</filename>,
366 <filename>cross</filename>, and
367 <filename>cross-canadian</filename> recipes to change
364 <filename>RPATH</filename> records within binaries in order to make 368 <filename>RPATH</filename> records within binaries in order to make
365 them relocatable. 369 them relocatable.
366 </para> 370 </para>
@@ -373,6 +377,12 @@
373 The <filename>clutter</filename> class consolidates the 377 The <filename>clutter</filename> class consolidates the
374 major and minor version naming and other common items used by Clutter 378 major and minor version naming and other common items used by Clutter
375 and related recipes. 379 and related recipes.
380 <note>
381 Unlike some other classes related to specific libraries, recipes
382 building other software that uses Clutter do not need to
383 inherit this class unless they use the same recipe versioning
384 scheme that the Clutter and related recipes do.
385 </note>
376 </para> 386 </para>
377</section> 387</section>
378 388
@@ -454,8 +464,8 @@
454 <title><filename>cross.bbclass</filename></title> 464 <title><filename>cross.bbclass</filename></title>
455 465
456 <para> 466 <para>
457 The <filename>cross</filename>)class provides support for 467 The <filename>cross</filename> class provides support for the recipes
458 cross-compilation tools. 468 that build the cross-compilation tools.
459 </para> 469 </para>
460</section> 470</section>
461 471
@@ -464,7 +474,8 @@
464 474
465 <para> 475 <para>
466 The <filename>cross-canadian</filename> class 476 The <filename>cross-canadian</filename> class
467 provides support for Canadian Cross compilation tools for SDKs. 477 provides support for the recipes that build the Canadian
478 Cross-compilation tools for SDKs.
468 See the 479 See the
469 "<link linkend='cross-development-toolchain-generation'>Cross-Development Toolchain Generation</link>" 480 "<link linkend='cross-development-toolchain-generation'>Cross-Development Toolchain Generation</link>"
470 section for more discussion on these cross-compilation tools. 481 section for more discussion on these cross-compilation tools.
@@ -476,8 +487,8 @@
476 487
477 <para> 488 <para>
478 The <filename>crosssdk</filename> class 489 The <filename>crosssdk</filename> class
479 provides support for cross-compilation tools used for building 490 provides support for the recipes that build the cross-compilation
480 SDKs. 491 tools used for building SDKs.
481 See the 492 See the
482 "<link linkend='cross-development-toolchain-generation'>Cross-Development Toolchain Generation</link>" 493 "<link linkend='cross-development-toolchain-generation'>Cross-Development Toolchain Generation</link>"
483 section for more discussion on these cross-compilation tools. 494 section for more discussion on these cross-compilation tools.
@@ -488,10 +499,20 @@
488 <title><filename>debian.bbclass</filename></title> 499 <title><filename>debian.bbclass</filename></title>
489 500
490 <para> 501 <para>
491 The <filename>debian</filename> class renames packages so that they 502 The <filename>debian</filename> class renames output packages so that
492 follow the Debian naming policy (i.e. <filename>eglibc</filename> 503 they follow the Debian naming policy (i.e. <filename>eglibc</filename>
493 becomes <filename>libc6</filename> and <filename>eglibc-devel</filename> 504 becomes <filename>libc6</filename> and <filename>eglibc-devel</filename>
494 becomes <filename>libc6-dev</filename>.) 505 becomes <filename>libc6-dev</filename>.)
506 Renaming includes the library name and version as part of the package
507 name.
508 </para>
509
510 <para>
511 If a recipe creates packages for multiple libraries
512 (shared object files of <filename>.so</filename> type), use the
513 <link linkend='var-LEAD_SONAME'><filename>LEAD_SONAME</filename></link>
514 variable in the recipe to specify the library on which to apply the
515 naming scheme.
495 </para> 516 </para>
496</section> 517</section>
497 518
@@ -512,6 +533,9 @@
512 and use <filename>addtask</filename> to add the task at the appropriate 533 and use <filename>addtask</filename> to add the task at the appropriate
513 place, which is usually after <filename>do_compile</filename> or 534 place, which is usually after <filename>do_compile</filename> or
514 <filename>do_install</filename>. 535 <filename>do_install</filename>.
536 The class then takes care of staging the files from
537 <filename>DEPLOYDIR</filename> to
538 <filename>DEPLOY_DIR_IMAGE</filename>.
515 </para> 539 </para>
516</section> 540</section>
517 541