diff options
Diffstat (limited to 'documentation')
| -rw-r--r-- | documentation/ref-manual/ref-classes.xml | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml index 0dcff0be2b..4f1b798be4 100644 --- a/documentation/ref-manual/ref-classes.xml +++ b/documentation/ref-manual/ref-classes.xml | |||
| @@ -1409,6 +1409,32 @@ | |||
| 1409 | </para> | 1409 | </para> |
| 1410 | </section> | 1410 | </section> |
| 1411 | 1411 | ||
| 1412 | <section id='ref-classes-kernel'> | ||
| 1413 | <title>Building Kernels - <filename>kernel.bbclass</filename></title> | ||
| 1414 | |||
| 1415 | <para> | ||
| 1416 | This class handles building Linux kernels. | ||
| 1417 | The class contains code to build all kernel trees. | ||
| 1418 | All needed headers are staged into the | ||
| 1419 | <filename><link linkend='var-STAGING_KERNEL_DIR'>STAGING_KERNEL_DIR</link></filename> | ||
| 1420 | directory to allow out-of-tree module builds using <filename>module.bbclass</filename>. | ||
| 1421 | </para> | ||
| 1422 | |||
| 1423 | <para> | ||
| 1424 | This means that each built kernel module is packaged separately and inter-module | ||
| 1425 | dependencies are created by parsing the <filename>modinfo</filename> output. | ||
| 1426 | If all modules are required, then installing the <filename>kernel-modules</filename> | ||
| 1427 | package installs all packages with modules and various other kernel packages | ||
| 1428 | such as <filename>kernel-vmlinux</filename>. | ||
| 1429 | </para> | ||
| 1430 | |||
| 1431 | <para> | ||
| 1432 | Various other classes are used by the kernel and module classes internally including | ||
| 1433 | <filename>kernel-arch.bbclass</filename>, <filename>module_strip.bbclass</filename>, | ||
| 1434 | <filename>module-base.bbclass</filename>, and <filename>linux-kernel-base.bbclass</filename>. | ||
| 1435 | </para> | ||
| 1436 | </section> | ||
| 1437 | |||
| 1412 | <section id='ref-classes-kernel-arch'> | 1438 | <section id='ref-classes-kernel-arch'> |
| 1413 | <title><filename>kernel-arch.bbclass</filename></title> | 1439 | <title><filename>kernel-arch.bbclass</filename></title> |
| 1414 | 1440 | ||
| @@ -2436,34 +2462,8 @@ | |||
| 2436 | </para> | 2462 | </para> |
| 2437 | </section> | 2463 | </section> |
| 2438 | 2464 | ||
| 2439 | <section id='ref-classes-kernel'> | 2465 | <section id='ref-classes-rootfs*'> |
| 2440 | <title>Building Kernels - <filename>kernel.bbclass</filename></title> | 2466 | <title><filename>rootfs*.bbclass</filename></title> |
| 2441 | |||
| 2442 | <para> | ||
| 2443 | This class handles building Linux kernels. | ||
| 2444 | The class contains code to build all kernel trees. | ||
| 2445 | All needed headers are staged into the | ||
| 2446 | <filename><link linkend='var-STAGING_KERNEL_DIR'>STAGING_KERNEL_DIR</link></filename> | ||
| 2447 | directory to allow out-of-tree module builds using <filename>module.bbclass</filename>. | ||
| 2448 | </para> | ||
| 2449 | |||
| 2450 | <para> | ||
| 2451 | This means that each built kernel module is packaged separately and inter-module | ||
| 2452 | dependencies are created by parsing the <filename>modinfo</filename> output. | ||
| 2453 | If all modules are required, then installing the <filename>kernel-modules</filename> | ||
| 2454 | package installs all packages with modules and various other kernel packages | ||
| 2455 | such as <filename>kernel-vmlinux</filename>. | ||
| 2456 | </para> | ||
| 2457 | |||
| 2458 | <para> | ||
| 2459 | Various other classes are used by the kernel and module classes internally including | ||
| 2460 | <filename>kernel-arch.bbclass</filename>, <filename>module_strip.bbclass</filename>, | ||
| 2461 | <filename>module-base.bbclass</filename>, and <filename>linux-kernel-base.bbclass</filename>. | ||
| 2462 | </para> | ||
| 2463 | </section> | ||
| 2464 | |||
| 2465 | <section id='ref-classes-image'> | ||
| 2466 | <title>Creating Images - <filename>image.bbclass</filename> and <filename>rootfs*.bbclass</filename></title> | ||
| 2467 | 2467 | ||
| 2468 | <para> | 2468 | <para> |
| 2469 | These classes add support for creating images in several formats. | 2469 | These classes add support for creating images in several formats. |
