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 <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
8f2c3eca29
commit
54a2ed579d
|
@ -45,7 +45,7 @@
|
||||||
<title><filename>allarch.bbclass</filename></title>
|
<title><filename>allarch.bbclass</filename></title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
The all architecture (<filename>allarch</filename>) class is inherited
|
The <filename>allarch</filename> class is inherited
|
||||||
by recipes that do not produce architecture-specific output.
|
by recipes that do not produce architecture-specific output.
|
||||||
The class disables functionality that is normally needed for recipes
|
The class disables functionality that is normally needed for recipes
|
||||||
that produce executable binaries (such as building the cross-compiler
|
that produce executable binaries (such as building the cross-compiler
|
||||||
|
@ -137,7 +137,7 @@
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
The <filename>base</filename> class is special in that every
|
The <filename>base</filename> class is special in that every
|
||||||
<filename>.bb</filename> file automatically inherits the class.
|
<filename>.bb</filename> file implicitly inherits the class.
|
||||||
This class contains definitions for standard basic
|
This class contains definitions for standard basic
|
||||||
tasks such as fetching, unpacking, configuring (empty by default),
|
tasks such as fetching, unpacking, configuring (empty by default),
|
||||||
compiling (runs any <filename>Makefile</filename> present), installing
|
compiling (runs any <filename>Makefile</filename> present), installing
|
||||||
|
@ -166,8 +166,9 @@
|
||||||
<note>
|
<note>
|
||||||
For RPMs and other packages that do not contain a subdirectory,
|
For RPMs and other packages that do not contain a subdirectory,
|
||||||
you should specify a "subdir" parameter.
|
you should specify a "subdir" parameter.
|
||||||
Here is an example where <filename>${BP}</filename> matches the
|
Here is an example where <filename>${BP}</filename> is used so that
|
||||||
subdirectory expected by the default value of
|
the files are extracted into the subdirectory expected by the
|
||||||
|
default value of
|
||||||
<link linkend='var-S'><filename>S</filename></link>:
|
<link linkend='var-S'><filename>S</filename></link>:
|
||||||
<literallayout class='monospaced'>
|
<literallayout class='monospaced'>
|
||||||
SRC_URI = "http://example.com/downloads/somepackage.rpm;subdir=${BP}"
|
SRC_URI = "http://example.com/downloads/somepackage.rpm;subdir=${BP}"
|
||||||
|
@ -290,10 +291,11 @@
|
||||||
<title><filename>bugzilla.bbclass</filename></title>
|
<title><filename>bugzilla.bbclass</filename></title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
The <filename>bugzilla</filename> class, if enabled in
|
The <filename>bugzilla</filename> class automatically files bug reports
|
||||||
your instance of Bugzilla, automatically files bug reports to that
|
to a Bugzilla instance in response to build failures.
|
||||||
enabled instance in response to build failures.
|
|
||||||
This class uses Bugzilla's XML-RPC interface.
|
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.
|
||||||
</para>
|
</para>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -330,13 +332,12 @@
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
To enable this class, use the
|
Collecting build statistics is enabled by default through the
|
||||||
<link linkend='var-USER_CLASSES'><filename>USER_CLASSES</filename></link>
|
<link linkend='var-USER_CLASSES'><filename>USER_CLASSES</filename></link>
|
||||||
variable from your <filename>local.conf</filename> file.
|
variable from your <filename>local.conf</filename> file.
|
||||||
The <filename>meta-yocto/conf/local.conf.sample</filename> file
|
Consequently, you do not have to do anything to enable the class.
|
||||||
in the
|
However, if you want to disable the class, simply remove "buildstats"
|
||||||
<ulink url='&YOCTO_DOCS_DEV_URL;#source-directory'>Source Directory</ulink>
|
from the <filename>USER_CLASSES</filename> list.
|
||||||
enables this class by default.
|
|
||||||
</para>
|
</para>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue