diff options
author | Joshua Lock <josh@linux.intel.com> | 2009-12-03 16:23:38 +0000 |
---|---|---|
committer | Joshua Lock <josh@linux.intel.com> | 2009-12-18 11:47:52 +0000 |
commit | a1c4e3be103cad612ad3aeb322dcdda1ad35efe1 (patch) | |
tree | 4d5e216bc4d5ca56283a87b0ed57c501e77de79e /handbook/ref-classes.xml | |
parent | 8904028db14d906dad472044baa502a666c99f3d (diff) | |
download | poky-a1c4e3be103cad612ad3aeb322dcdda1ad35efe1.tar.gz |
handbook: Minor tweaks
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'handbook/ref-classes.xml')
-rw-r--r-- | handbook/ref-classes.xml | 35 |
1 files changed, 18 insertions, 17 deletions
diff --git a/handbook/ref-classes.xml b/handbook/ref-classes.xml index 1cef9012c1..bec0814daf 100644 --- a/handbook/ref-classes.xml +++ b/handbook/ref-classes.xml | |||
@@ -266,19 +266,20 @@ autotools_stage_all | |||
266 | <title>Python extensions - <filename>distutils.bbclass</filename></title> | 266 | <title>Python extensions - <filename>distutils.bbclass</filename></title> |
267 | 267 | ||
268 | <para> | 268 | <para> |
269 | Recipes for Python extensions are simple - usually needs only | 269 | Recipes for Python extensions are simple - they usually only |
270 | pointing to source archive and inheriting of proper bbclass. | 270 | require pointing to the source archive and inheriting the proper |
271 | Building is split into two methods dependly on method used by | 271 | bbclasses. |
272 | module authors. | 272 | Building is split into two methods depending on the build method |
273 | used by the module authors. | ||
273 | </para> | 274 | </para> |
274 | 275 | ||
275 | <para> | 276 | <para> |
276 | Extensions which use autotools based build system require using | 277 | Extensions which use autotools based build system require use |
277 | of autotools and distutils-base bbclasses in their recipes. | 278 | of autotools and distutils-base bbclasses in their recipes. |
278 | </para> | 279 | </para> |
279 | 280 | ||
280 | <para> | 281 | <para> |
281 | Extensions which use distutils build system require using | 282 | Extensions which use distutils build system require use |
282 | of <filename>distutils.bbclass</filename> in their recipes. | 283 | of <filename>distutils.bbclass</filename> in their recipes. |
283 | </para> | 284 | </para> |
284 | 285 | ||
@@ -300,12 +301,12 @@ autotools_stage_all | |||
300 | <title>Packaging - <filename>package*.bbclass</filename></title> | 301 | <title>Packaging - <filename>package*.bbclass</filename></title> |
301 | 302 | ||
302 | <para> | 303 | <para> |
303 | The packaging classes add support for generating packages from the output | 304 | The packaging classes add support for generating packages from a builds |
304 | from builds. The core generic functionality is in | 305 | output. The core generic functionality is in |
305 | <filename>package.bbclass</filename>, code specific to particular package | 306 | <filename>package.bbclass</filename>, code specific to particular package |
306 | types is contained in various sub classes such as | 307 | types is contained in various sub classes such as |
307 | <filename>package_deb.bbclass</filename> and <filename>package_ipk.bbclass</filename>. | 308 | <filename>package_deb.bbclass</filename> and <filename>package_ipk.bbclass</filename>. |
308 | Most users will | 309 | Most users will |
309 | want one or more of these classes and this is controlled by the <glossterm> | 310 | want one or more of these classes and this is controlled by the <glossterm> |
310 | <link linkend='var-PACKAGE_CLASSES'>PACKAGE_CLASSES</link></glossterm> | 311 | <link linkend='var-PACKAGE_CLASSES'>PACKAGE_CLASSES</link></glossterm> |
311 | variable. The first class listed in this variable will be used for image | 312 | variable. The first class listed in this variable will be used for image |
@@ -319,15 +320,15 @@ autotools_stage_all | |||
319 | <title>Building kernels - <filename>kernel.bbclass</filename></title> | 320 | <title>Building kernels - <filename>kernel.bbclass</filename></title> |
320 | 321 | ||
321 | <para> | 322 | <para> |
322 | This class handle building of Linux kernels and the class contains code to know how to build both 2.4 and 2.6 kernel trees. All needed headers are | 323 | This class handles building of Linux kernels and the class contains code to know how to build both 2.4 and 2.6 kernel trees. All needed headers are |
323 | staged into <glossterm><link | 324 | staged into <glossterm><link |
324 | linkend='var-STAGING_KERNEL_DIR'>STAGING_KERNEL_DIR</link></glossterm> | 325 | linkend='var-STAGING_KERNEL_DIR'>STAGING_KERNEL_DIR</link></glossterm> |
325 | directory to allow building of out-of-tree modules using <filename>module.bbclass</filename>. | 326 | directory to allow building of out-of-tree modules using <filename>module.bbclass</filename>. |
326 | </para> | 327 | </para> |
327 | <para> | 328 | <para> |
328 | The means that each kerel module built is packaged separately and inter-modules dependencies are | 329 | The means that each kerel module built is packaged separately and inter-module dependencies are |
329 | created by parsing the <command>modinfo</command> output. If all modules are | 330 | created by parsing the <command>modinfo</command> output. If all modules are |
330 | required then installing "kernel-modules" package will install all | 331 | required then installing the "kernel-modules" package will install all |
331 | packages with modules and various other kernel packages such as "kernel-vmlinux" are also generated. | 332 | packages with modules and various other kernel packages such as "kernel-vmlinux" are also generated. |
332 | </para> | 333 | </para> |
333 | 334 | ||
@@ -377,7 +378,7 @@ autotools_stage_all | |||
377 | packages generated by Poky. There are an ever increasing range of checks | 378 | packages generated by Poky. There are an ever increasing range of checks |
378 | this makes, checking for common problems which break builds/packages/images, | 379 | this makes, checking for common problems which break builds/packages/images, |
379 | see the bbclass file for more information. Its usually up to distribution | 380 | see the bbclass file for more information. Its usually up to distribution |
380 | policy to include this class (Poky doesn't at the time of writing but plans | 381 | policy to include this class (Poky does). |
381 | to soon). | 382 | to soon). |
382 | </para> | 383 | </para> |
383 | </section> | 384 | </section> |