summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2013-12-11 12:26:41 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-12-13 16:30:01 +0000
commitf9321630a6b117fd17242c1a76bd621342b9cce6 (patch)
tree8c45af4914d0891309001dd63f21df11201c82b8 /documentation
parent68fbbd1008a76d78c7cef141dc06696d27fe2d0c (diff)
downloadast2050-yocto-poky-f9321630a6b117fd17242c1a76bd621342b9cce6.zip
ast2050-yocto-poky-f9321630a6b117fd17242c1a76bd621342b9cce6.tar.gz
ref-manual: Added module and module-base classes.
(From yocto-docs rev: d815e0fd2f49c5269432427f08b88657c4e50104) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/ref-manual/ref-classes.xml38
1 files changed, 37 insertions, 1 deletions
diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml
index 1dad284..aae3062 100644
--- a/documentation/ref-manual/ref-classes.xml
+++ b/documentation/ref-manual/ref-classes.xml
@@ -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>
OpenPOWER on IntegriCloud