generic-poky/documentation/ref-manual/eclipse/html/poky-ref-manual/ref-classes-kernel.html

37 lines
2.2 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>7.14. Building kernels - kernel.bbclass</title>
<link rel="stylesheet" type="text/css" href="../book.css">
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="The Yocto Project Reference Manual">
<link rel="up" href="ref-classes.html" title="Chapter 7. Classes">
<link rel="prev" href="ref-classes-package.html" title="7.13. Packaging - package*.bbclass">
<link rel="next" href="ref-classes-image.html" title="7.15. Creating images - image.bbclass and rootfs*.bbclass">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="section" title="7.14. Building kernels - kernel.bbclass">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="ref-classes-kernel"></a>7.14. Building kernels - <code class="filename">kernel.bbclass</code>
</h2></div></div></div>
<p>
This class handles building Linux kernels.
The class contains code to build all kernel trees.
All needed headers are staged into the
<code class="filename"><a class="link" href="ref-variables-glos.html#var-STAGING_KERNEL_DIR" title="STAGING_KERNEL_DIR">STAGING_KERNEL_DIR</a></code>
directory to allow out-of-tree module builds using <code class="filename">module.bbclass</code>.
</p>
<p>
This means that each built kernel module is packaged separately and inter-module
dependencies are created by parsing the <code class="filename">modinfo</code> output.
If all modules are required, then installing the <code class="filename">kernel-modules</code>
package installs all packages with modules and various other kernel packages
such as <code class="filename">kernel-vmlinux</code>.
</p>
<p>
Various other classes are used by the kernel and module classes internally including
<code class="filename">kernel-arch.bbclass</code>, <code class="filename">module_strip.bbclass</code>,
<code class="filename">module-base.bbclass</code>, and <code class="filename">linux-kernel-base.bbclass</code>.
</p>
</div></body>
</html>