ref-manual: Added allarch class description.

(From yocto-docs rev: 956c4343869f632b9383a4082303e5660e59648b)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark 2013-11-26 07:42:32 -08:00 committed by Richard Purdie
parent 4f7fea8ccb
commit a38ebf38ab
1 changed files with 24 additions and 0 deletions

View File

@ -41,6 +41,30 @@
for more information.
</para>
<section id='ref-classes-allarch'>
<title><filename>allarch.bbclass</filename></title>
<para>
The all architecture (<filename>allarch</filename>) 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
and a C library as pre-requisites, and splitting out of debug symbols
during packaging).
</para>
<para>
By default, all recipes inherit the
<link linkend='ref-classes-base'><filename>base</filename></link> and
<link linkend='ref-classes-package'><filename>package</filename></link>
classes, which enable functionality
needed for recipes that produce executable output.
If your recipe, for example, only produces packages that contain
configuration files, media files, or scripts (e.g. Python and Perl),
then it should inherit the <filename>allarch</filename> class.
</para>
</section>
<section id='ref-classes-base'>
<title>The base Class - <filename>base.bbclass</filename></title>