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

37 lines
2.2 KiB
HTML
Raw Normal View History

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>7.14.<2E>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<65>7.<2E>Classes">
<link rel="prev" href="ref-classes-package.html" title="7.13.<2E>Packaging - package*.bbclass">
<link rel="next" href="ref-classes-image.html" title="7.15.<2E>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.<2E>Building kernels - kernel.bbclass">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="ref-classes-kernel"></a>7.14.<2E>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>