From 51362f7858dda16840ed4384992062023e9c29dc Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Fri, 6 Dec 2013 12:41:17 -0600 Subject: 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 Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-classes.xml | 42 +++++++++++++++++++++++++------- 1 file changed, 33 insertions(+), 9 deletions(-) (limited to 'documentation/ref-manual/ref-classes.xml') 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 @@ <filename>ccache.bbclass</filename> - The ccache class enables this cache for the build. + The ccache class enables the + C/C++ Compiler Cache + for the build. This class is used to give a minor performance boost during the build. However, using the class can lead to unexpected side-effects. Thus, it is recommended that you do not use this class. @@ -360,7 +362,9 @@ The chrpath class is a wrapper around the "chrpath" utility, which is used during the - build process for nativesdk recipes to change + build process for nativesdk, + cross, and + cross-canadian recipes to change RPATH records within binaries in order to make them relocatable. @@ -373,6 +377,12 @@ The clutter class consolidates the major and minor version naming and other common items used by Clutter and related recipes. + + Unlike some other classes related to specific libraries, recipes + building other software that uses Clutter do not need to + inherit this class unless they use the same recipe versioning + scheme that the Clutter and related recipes do. + @@ -454,8 +464,8 @@ <filename>cross.bbclass</filename> - The cross)class provides support for - cross-compilation tools. + The cross class provides support for the recipes + that build the cross-compilation tools. @@ -464,7 +474,8 @@ The cross-canadian class - provides support for Canadian Cross compilation tools for SDKs. + provides support for the recipes that build the Canadian + Cross-compilation tools for SDKs. See the "Cross-Development Toolchain Generation" section for more discussion on these cross-compilation tools. @@ -476,8 +487,8 @@ The crosssdk class - provides support for cross-compilation tools used for building - SDKs. + provides support for the recipes that build the cross-compilation + tools used for building SDKs. See the "Cross-Development Toolchain Generation" section for more discussion on these cross-compilation tools. @@ -488,10 +499,20 @@ <filename>debian.bbclass</filename> - The debian class renames packages so that they - follow the Debian naming policy (i.e. eglibc + The debian class renames output packages so that + they follow the Debian naming policy (i.e. eglibc becomes libc6 and eglibc-devel becomes libc6-dev.) + Renaming includes the library name and version as part of the package + name. + + + + If a recipe creates packages for multiple libraries + (shared object files of .so type), use the + LEAD_SONAME + variable in the recipe to specify the library on which to apply the + naming scheme. @@ -512,6 +533,9 @@ and use addtask to add the task at the appropriate place, which is usually after do_compile or do_install. + The class then takes care of staging the files from + DEPLOYDIR to + DEPLOY_DIR_IMAGE. -- cgit v1.2.3-54-g00ecf