summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/ref-manual')
-rw-r--r--documentation/ref-manual/ref-variables.xml50
1 files changed, 50 insertions, 0 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index 30f497ab18..870c50b7c8 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -4434,6 +4434,56 @@ 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_AUTOLOAD'><glossterm>KERNEL_MODULE_AUTOLOAD</glossterm>
4438 <glossdef>
4439 <para>
4440 Lists kernel modules that need to be auto-loaded during
4441 boot.
4442 <note>
4443 This variable replaces the deprecated
4444 <link linkend='var-module_autoload'><filename>module_autoload</filename></link>
4445 variable.
4446 </note>
4447 </para>
4448
4449 <para>
4450 You can use the <filename>KERNEL_MODULE_AUTOLOAD</filename>
4451 variable anywhere that it can be
4452 recognized by the kernel recipe or by an out-of-tree kernel
4453 module recipe (e.g. a machine configuration file, a
4454 distribution configuration file, an append file for the
4455 recipe, or the recipe itself).
4456 </para>
4457
4458 <para>
4459 Specify it as follows:
4460 <literallayout class='monospaced'>
4461 KERNEL_MODULE_AUTOLOAD = "modname1 modname2 modname3"
4462 </literallayout>
4463 </para>
4464
4465 <para>
4466 Including <filename>KERNEL_MODULE_AUTOLOAD</filename> causes
4467 the OpenEmbedded build system to populate the
4468 <filename>/etc/modules-load.d/modname.conf</filename>
4469 file with the list of modules to be auto-loaded on boot.
4470 The modules appear one-per-line in the file.
4471 Here is an example of the most common use case:
4472 <literallayout class='monospaced'>
4473 KERNEL_MODULE_AUTOLOAD = "modname"
4474 </literallayout>
4475 </para>
4476
4477 <para>
4478 For information on how to populate the
4479 <filename>modname.conf</filename> file with
4480 <filename>modprobe.d</filename> syntax lines, see the
4481 <link linkend='var-KERNEL_MODULE_PROBECONF'><filename>KERNEL_MODULE_PROBECONF</filename></link>
4482 variable.
4483 </para>
4484 </glossdef>
4485 </glossentry>
4486
4437 <glossentry id='var-KERNEL_MODULE_PROBECONF'><glossterm>KERNEL_MODULE_PROBECONF</glossterm> 4487 <glossentry id='var-KERNEL_MODULE_PROBECONF'><glossterm>KERNEL_MODULE_PROBECONF</glossterm>
4438 <glossdef> 4488 <glossdef>
4439 <para> 4489 <para>