From d6c0a7d5406c3bfb79edca25e2194569b393cfa9 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Mon, 13 Oct 2014 10:31:14 -0700 Subject: 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 Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.xml | 59 ++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) (limited to 'documentation/ref-manual/ref-variables.xml') 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" + KERNEL_MODULE_PROBECONF + + + Specifies + modprobe.d + syntax lines for inclusion in the + /etc/modprobe.d/modname.conf file. + + The KERNEL_MODULE_PROBECONF + variable behaves the same as the + module_conf + variable with the exception of not having to use a + module name override. + + + + + You can use the + KERNEL_MODULE_PROBECONF 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). + + + + Here is the general syntax: + + KERNEL_MODULE_PROBECONF = "<modprobe.d syntax>" + + + + + Run man modprobe.d in the shell to + find out more information on the exact syntax + you want to provide with KERNEL_MODULE_PROBECONF. + + + + Including KERNEL_MODULE_PROBECONF causes + the OpenEmbedded build system to populate the + /etc/modprobe.d/modname.conf + file with modprobe.d syntax lines. + Here is an example that adds the options + arg1 and arg2 + to a module named mymodule: + + KERNEL_MODULE_PROBECONF = "options mymodule arg1=val1 arg2=val2" + + + + + For information on how to specify kernel modules to + auto-load on boot, see the + KERNEL_MODULE_AUTOLOAD variable. + + + + KERNEL_PATH -- cgit v1.2.3-54-g00ecf