From 8eb706a41b040cf1397c2ebe5517c40031f4d1fb Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Tue, 14 Oct 2014 06:57:45 -0700 Subject: ref-manual, dev-manual: Applied migration review edits. Applied the full set of first draft revision edits for the new migration section for 1.7. Comments from Paul Eggleton. (From yocto-docs rev: 90586addbc719ecaf7c768b267adf0e988e27b74) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.xml | 83 +++++++++--------------------- 1 file changed, 23 insertions(+), 60 deletions(-) (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 1cff5bdfaa..aadae01ac4 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -4458,7 +4458,7 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" Specify it as follows: - KERNEL_MODULE_AUTOLOAD = "modname1 modname2 modname3" + KERNEL_MODULE_AUTOLOAD += "modname1 modname2 modname3" @@ -4470,7 +4470,7 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" The modules appear one-per-line in the file. Here is an example of the most common use case: - KERNEL_MODULE_AUTOLOAD = "modname" + KERNEL_MODULE_AUTOLOAD += "modname" @@ -4487,58 +4487,14 @@ 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. + Provides a list of modules for which the OpenEmbedded + build system expects to find + module_conf_<modname> + values that specify configuration for each of the modules. + For information on how to provide those module + configurations, see the + module_conf_* + variable. @@ -5410,12 +5366,19 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" This variable has been replaced by the KERNEL_MODULE_AUTOLOAD variable. - You should replace all occurrences of the - module_autoload variable with - KERNEL_MODULE_AUTOLOAD variables. + You should replace all occurrences of + module_autoload with additions to + KERNEL_MODULE_AUTOLOAD, for example: + + module_autoload_rfcomm = "rfcomm" + + should now be replaced with: + + KERNEL_MODULE_AUTOLOAD += "rfcomm" + See the KERNEL_MODULE_AUTOLOAD - variable for a description of the variable. + variable for more information. @@ -5437,7 +5400,7 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" recipe, or the recipe itself). If you use this variable, you must also be sure to list the module name in the - KERNEL_MODULE_PROBECONF + KERNEL_MODULE_AUTOLOAD variable. @@ -5471,7 +5434,7 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" For information on how to specify kernel modules to auto-load on boot, see the - module_autoload + KERNEL_MODULE_AUTOLOAD variable. -- cgit v1.2.3-54-g00ecf