summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2014-10-13 10:31:14 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-10-18 16:15:26 +0200
commitd6c0a7d5406c3bfb79edca25e2194569b393cfa9 (patch)
tree052633cca8ee3fe6de14a454c4190f5de3153e3c
parent55169b9141eae5bf5a9a9d81923779e036d312b2 (diff)
downloadast2050-yocto-poky-d6c0a7d5406c3bfb79edca25e2194569b393cfa9.zip
ast2050-yocto-poky-d6c0a7d5406c3bfb79edca25e2194569b393cfa9.tar.gz
ref-manual: Added new KERNEL_MODULE_PROBECONF variable
Added this new variable to the variable glossary. (From yocto-docs rev: d2d75631777f6cef3472bde428ed65419c99457e) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--documentation/ref-manual/ref-variables.xml59
1 files changed, 59 insertions, 0 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index b869bc9..30f497a 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -4434,6 +4434,65 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
</glossdef>
</glossentry>
+ <glossentry id='var-KERNEL_MODULE_PROBECONF'><glossterm>KERNEL_MODULE_PROBECONF</glossterm>
+ <glossdef>
+ <para>
+ Specifies
+ <ulink url='http://linux.die.net/man/5/modprobe.d'><filename>modprobe.d</filename></ulink>
+ syntax lines for inclusion in the
+ <filename>/etc/modprobe.d/modname.conf</filename> file.
+ <note>
+ The <filename>KERNEL_MODULE_PROBECONF</filename>
+ variable behaves the same as the
+ <link linkend='var-module_conf'><filename>module_conf</filename></link>
+ variable with the exception of not having to use a
+ module name override.
+ </note>
+ </para>
+
+ <para>
+ You can use the
+ <filename>KERNEL_MODULE_PROBECONF</filename> variable
+ anywhere it can be recognized by the kernel recipe or
+ an out-of-tree kernel module recipe (e.g. a machine
+ configuration file, a distribution configuration file, an
+ append file for the recipe, or the recipe itself).
+ </para>
+
+ <para>
+ Here is the general syntax:
+ <literallayout class='monospaced'>
+ KERNEL_MODULE_PROBECONF = "&lt;modprobe.d syntax&gt;"
+ </literallayout>
+ </para>
+
+ <para>
+ Run <filename>man modprobe.d</filename> in the shell to
+ find out more information on the exact syntax
+ you want to provide with <filename>KERNEL_MODULE_PROBECONF</filename>.
+ </para>
+
+ <para>
+ Including <filename>KERNEL_MODULE_PROBECONF</filename> causes
+ the OpenEmbedded build system to populate the
+ <filename>/etc/modprobe.d/modname.conf</filename>
+ file with <filename>modprobe.d</filename> syntax lines.
+ Here is an example that adds the options
+ <filename>arg1</filename> and <filename>arg2</filename>
+ to a module named <filename>mymodule</filename>:
+ <literallayout class='monospaced'>
+ KERNEL_MODULE_PROBECONF = "options mymodule arg1=val1 arg2=val2"
+ </literallayout>
+ </para>
+
+ <para>
+ For information on how to specify kernel modules to
+ auto-load on boot, see the
+ <filename>KERNEL_MODULE_AUTOLOAD</filename> variable.
+ </para>
+ </glossdef>
+ </glossentry>
+
<glossentry id='var-KERNEL_PATH'><glossterm>KERNEL_PATH</glossterm>
<glossdef>
<para>
OpenPOWER on IntegriCloud