From 54a2ed579dc23fce9527f24204a01dc1d7cc558b Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Fri, 6 Dec 2013 08:20:09 -0600 Subject: ref-manual: Review edits to classes A through B Applied some review edits from Paul Eggleton for the following classes: allarch base bin_package bugzilla buildstats (From yocto-docs rev: 7caa9de2ffd2024e9ad560c58425bd16fbca2790) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-classes.xml | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 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 8e49c4d689..5e7fad3ea2 100644 --- a/documentation/ref-manual/ref-classes.xml +++ b/documentation/ref-manual/ref-classes.xml @@ -45,7 +45,7 @@ <filename>allarch.bbclass</filename> - The all architecture (allarch) class is inherited + The allarch class is inherited by recipes that do not produce architecture-specific output. The class disables functionality that is normally needed for recipes that produce executable binaries (such as building the cross-compiler @@ -137,7 +137,7 @@ The base class is special in that every - .bb file automatically inherits the class. + .bb file implicitly inherits the class. This class contains definitions for standard basic tasks such as fetching, unpacking, configuring (empty by default), compiling (runs any Makefile present), installing @@ -166,8 +166,9 @@ For RPMs and other packages that do not contain a subdirectory, you should specify a "subdir" parameter. - Here is an example where ${BP} matches the - subdirectory expected by the default value of + Here is an example where ${BP} is used so that + the files are extracted into the subdirectory expected by the + default value of S: SRC_URI = "http://example.com/downloads/somepackage.rpm;subdir=${BP}" @@ -290,10 +291,11 @@ <filename>bugzilla.bbclass</filename> - The bugzilla class, if enabled in - your instance of Bugzilla, automatically files bug reports to that - enabled instance in response to build failures. + The bugzilla class automatically files bug reports + to a Bugzilla instance in response to build failures. This class uses Bugzilla's XML-RPC interface. + Consequently, you need to enable the class in the instance of Bugzilla + within which you wish to file reports. @@ -330,13 +332,12 @@ - To enable this class, use the + Collecting build statistics is enabled by default through the USER_CLASSES variable from your local.conf file. - The meta-yocto/conf/local.conf.sample file - in the - Source Directory - enables this class by default. + Consequently, you do not have to do anything to enable the class. + However, if you want to disable the class, simply remove "buildstats" + from the USER_CLASSES list. -- cgit v1.2.3-54-g00ecf