diff options
| -rw-r--r-- | documentation/ref-manual/ref-classes.xml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml index e65004f8ff..b3befc3037 100644 --- a/documentation/ref-manual/ref-classes.xml +++ b/documentation/ref-manual/ref-classes.xml | |||
| @@ -41,6 +41,30 @@ | |||
| 41 | for more information. | 41 | for more information. |
| 42 | </para> | 42 | </para> |
| 43 | 43 | ||
| 44 | <section id='ref-classes-allarch'> | ||
| 45 | <title><filename>allarch.bbclass</filename></title> | ||
| 46 | |||
| 47 | <para> | ||
| 48 | The all architecture (<filename>allarch</filename>) class is inherited | ||
| 49 | by recipes that do not produce architecture-specific output. | ||
| 50 | The class disables functionality that is normally needed for recipes | ||
| 51 | that produce executable binaries (such as building the cross-compiler | ||
| 52 | and a C library as pre-requisites, and splitting out of debug symbols | ||
| 53 | during packaging). | ||
| 54 | </para> | ||
| 55 | |||
| 56 | <para> | ||
| 57 | By default, all recipes inherit the | ||
| 58 | <link linkend='ref-classes-base'><filename>base</filename></link> and | ||
| 59 | <link linkend='ref-classes-package'><filename>package</filename></link> | ||
| 60 | classes, which enable functionality | ||
| 61 | needed for recipes that produce executable output. | ||
| 62 | If your recipe, for example, only produces packages that contain | ||
| 63 | configuration files, media files, or scripts (e.g. Python and Perl), | ||
| 64 | then it should inherit the <filename>allarch</filename> class. | ||
| 65 | </para> | ||
| 66 | </section> | ||
| 67 | |||
| 44 | <section id='ref-classes-base'> | 68 | <section id='ref-classes-base'> |
| 45 | <title>The base Class - <filename>base.bbclass</filename></title> | 69 | <title>The base Class - <filename>base.bbclass</filename></title> |
| 46 | 70 | ||
