ref-manual: Added module and module-base classes.
(From yocto-docs rev: be1e564483299a018e28f1971dbe85f8485c9b83) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
7cea11f64d
commit
cf1a1b9a08
|
@ -1546,7 +1546,6 @@
|
|||
Various other classes are used by the <filename>kernel</filename>
|
||||
and <filename>module</filename> classes internally including the
|
||||
<link linkend='ref-classes-kernel-arch'><filename>kernel-arch</filename></link>,
|
||||
<link linkend='ref-classes-module_strip'><filename>module_strip</filename></link>,
|
||||
<link linkend='ref-classes-module-base'><filename>module-base</filename></link>,
|
||||
and
|
||||
<link linkend='ref-classes-linux-kernel-base'><filename>linux-kernel-base</filename></link>
|
||||
|
@ -1698,6 +1697,43 @@
|
|||
</para>
|
||||
</section>
|
||||
|
||||
<section id='ref-classes-module'>
|
||||
<title><filename>module.bbclass</filename></title>
|
||||
|
||||
<para>
|
||||
The <filename>module</filename> class provides support for building
|
||||
out-of-tree Linux kernel modules.
|
||||
The class inherits the
|
||||
<link linkend='ref-classes-module-base'><filename>module-base</filename></link>
|
||||
and
|
||||
<link linkend='ref-classes-kernel-module-split'><filename>kernel-module-split</filename></link>
|
||||
classes, and implements <filename>do_compile</filename> and
|
||||
<filename>do_install</filename> functions.
|
||||
The class provides everything needed to build and package a kernel
|
||||
module.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
For general information on out-of-tree Linux kernel modules, see the
|
||||
"<ulink url='&YOCTO_DOCS_KERNEL_URL;#incorporating-out-of-tree-modules'>Incorporating Out-of-Tree Modules</ulink>"
|
||||
section in the Yocto Project Linux Kernel Development Manual.
|
||||
</para>
|
||||
</section>
|
||||
|
||||
<section id='ref-classes-module-base'>
|
||||
<title><filename>module-base.bbclass</filename></title>
|
||||
|
||||
<para>
|
||||
The <filename>module-base</filename> class provides the base
|
||||
functionality for building Linux kernel modules.
|
||||
Typically, a recipe that builds software that includes one or
|
||||
more kernel modules and has its own means of building
|
||||
the module inherits this class as opposed to inheriting the
|
||||
<link linkend='ref-classes-module'><filename>module</filename></link>
|
||||
class.
|
||||
</para>
|
||||
</section>
|
||||
|
||||
<section id='ref-classes-multilib*'>
|
||||
<title><filename>multilib*.bbclass</filename></title>
|
||||
|
||||
|
|
Loading…
Reference in New Issue