summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual/ref-variables.xml
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 /documentation/ref-manual/ref-variables.xml
parent55169b9141eae5bf5a9a9d81923779e036d312b2 (diff)
downloadpoky-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>
Diffstat (limited to 'documentation/ref-manual/ref-variables.xml')
-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 b869bc91a1..30f497ab18 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"
4434 </glossdef> 4434 </glossdef>
4435 </glossentry> 4435 </glossentry>
4436 4436
4437 <glossentry id='var-KERNEL_MODULE_PROBECONF'><glossterm>KERNEL_MODULE_PROBECONF</glossterm>
4438 <glossdef>
4439 <para>
4440 Specifies
4441 <ulink url='http://linux.die.net/man/5/modprobe.d'><filename>modprobe.d</filename></ulink>
4442 syntax lines for inclusion in the
4443 <filename>/etc/modprobe.d/modname.conf</filename> file.
4444 <note>
4445 The <filename>KERNEL_MODULE_PROBECONF</filename>
4446 variable behaves the same as the
4447 <link linkend='var-module_conf'><filename>module_conf</filename></link>
4448 variable with the exception of not having to use a
4449 module name override.
4450 </note>
4451 </para>
4452
4453 <para>
4454 You can use the
4455 <filename>KERNEL_MODULE_PROBECONF</filename> variable
4456 anywhere it can be recognized by the kernel recipe or
4457 an out-of-tree kernel module recipe (e.g. a machine
4458 configuration file, a distribution configuration file, an
4459 append file for the recipe, or the recipe itself).
4460 </para>
4461
4462 <para>
4463 Here is the general syntax:
4464 <literallayout class='monospaced'>
4465 KERNEL_MODULE_PROBECONF = "&lt;modprobe.d syntax&gt;"
4466 </literallayout>
4467 </para>
4468
4469 <para>
4470 Run <filename>man modprobe.d</filename> in the shell to
4471 find out more information on the exact syntax
4472 you want to provide with <filename>KERNEL_MODULE_PROBECONF</filename>.
4473 </para>
4474
4475 <para>
4476 Including <filename>KERNEL_MODULE_PROBECONF</filename> causes
4477 the OpenEmbedded build system to populate the
4478 <filename>/etc/modprobe.d/modname.conf</filename>
4479 file with <filename>modprobe.d</filename> syntax lines.
4480 Here is an example that adds the options
4481 <filename>arg1</filename> and <filename>arg2</filename>
4482 to a module named <filename>mymodule</filename>:
4483 <literallayout class='monospaced'>
4484 KERNEL_MODULE_PROBECONF = "options mymodule arg1=val1 arg2=val2"
4485 </literallayout>
4486 </para>
4487
4488 <para>
4489 For information on how to specify kernel modules to
4490 auto-load on boot, see the
4491 <filename>KERNEL_MODULE_AUTOLOAD</filename> variable.
4492 </para>
4493 </glossdef>
4494 </glossentry>
4495
4437 <glossentry id='var-KERNEL_PATH'><glossterm>KERNEL_PATH</glossterm> 4496 <glossentry id='var-KERNEL_PATH'><glossterm>KERNEL_PATH</glossterm>
4438 <glossdef> 4497 <glossdef>
4439 <para> 4498 <para>