2 # For a description of the syntax of this configuration file,
3 # see scripts/kbuild/config-language.txt.
6 menu "Linux Module Utilities"
12 depmod generates modules.dep (FIXME: elaborate)
18 insmod is used to load specified modules in the running kernel.
20 config FEATURE_INSMOD_VERSION_CHECKING
21 bool "Module version checking"
23 depends on INSMOD && FEATURE_2_4_MODULES
25 Support checking of versions for modules. This is used to
26 ensure that the kernel and module are made for each other.
28 config FEATURE_INSMOD_KSYMOOPS_SYMBOLS
29 bool "Add module symbols to kernel symbol table"
31 depends on INSMOD && FEATURE_2_4_MODULES
33 By adding module symbols to the kernel symbol table, Oops messages
34 occuring within kernel modules can be properly debugged. By enabling
35 this feature, module symbols will always be added to the kernel symbol
36 table for properly debugging support. If you are not interested in
37 Oops messages from kernel modules, say N.
39 config FEATURE_INSMOD_LOADINKMEM
40 bool "In kernel memory optimization (uClinux only)"
42 depends on INSMOD && FEATURE_2_4_MODULES
44 This is a special uClinux only memory optimization that lets insmod
45 load the specified kernel module directly into kernel space, reducing
46 memory usage by preventing the need for two copies of the module
47 being loaded into memory.
49 config FEATURE_INSMOD_LOAD_MAP
50 bool "Enable load map (-m) option"
52 depends on INSMOD && ( FEATURE_2_4_MODULES || FEATURE_2_6_MODULES )
54 Enabling this, one would be able to get a load map
55 output on stdout. This makes kernel module debugging
57 If you don't plan to debug kernel modules, you
58 don't need this option.
60 config FEATURE_INSMOD_LOAD_MAP_FULL
61 bool "Symbols in load map"
63 depends on FEATURE_INSMOD_LOAD_MAP
65 Without this option, -m will only output section
66 load map. With this option, -m will also output
73 rmmod is used to unload specified modules from the kernel.
79 lsmod is used to display a list of loaded modules.
81 config FEATURE_LSMOD_PRETTY_2_6_OUTPUT
82 bool "Pretty output for 2.6.x Linux kernels"
86 This option makes output format of lsmod adjusted to
87 the format of module-init-tools for Linux kernel 2.6.
93 Handle the loading of modules, and their dependencies on a high
96 Note that in the state, modprobe does not understand multiple
97 module options from the configuration file. See option below.
99 config FEATURE_MODPROBE_MULTIPLE_OPTIONS
101 prompt "Multiple options parsing"
105 Allow modprobe to understand more than one option to pass to
108 This is a WIP, while waiting for a common argument parsing
109 common amongst all BB applets (shell, modprobe, etc...) and
110 adds around 600 bytes on x86, 700 bytes on ARM. The code is
111 biggish and uggly, but just works.
113 Saying Y here is not a bad idea if you're not that short
116 config FEATURE_MODPROBE_FANCY_ALIAS
118 prompt "Fancy alias parsing"
120 depends on MODPROBE && FEATURE_2_6_MODULES
122 Say 'y' here to enable parsing of aliases with underscore/dash
123 mismatch between module name and file name, along with bus-specific
124 aliases (such as pci:... or usb:... aliases).
126 config FEATURE_MODPROBE_BLACKLIST
128 prompt "Blacklist support"
130 depends on MODPROBE && FEATURE_2_6_MODULES
132 Say 'y' here to enable support for the 'blacklist' command in
133 modprobe.conf. This prevents the alias resolver to resolve
134 blacklisted modules. This is useful if you want to prevent your
135 hardware autodetection scripts to load modules like evdev, frame
138 comment "Options common to multiple modutils"
139 depends on INSMOD || RMMOD || MODPROBE || LSMOD || DEPMOD
141 config FEATURE_CHECK_TAINTED_MODULE
142 # Simulate indentation
143 bool "Support tainted module checking with new kernels"
145 depends on INSMOD || LSMOD
147 Support checking for tainted modules. These are usually binary
148 only modules that will make the linux-kernel list ignore your
150 This option is required to support GPLONLY modules.
152 config FEATURE_2_4_MODULES
153 # Simulate indentation
154 bool "Support version 2.2.x to 2.4.x Linux kernels"
156 depends on INSMOD || RMMOD || MODPROBE
158 Support module loading for 2.2.x and 2.4.x Linux kernels.
161 This is automatically enabled if 2.6 modules are not enabled.
163 config FEATURE_2_6_MODULES
164 # Simulate indentation
165 bool "Support version 2.6.x Linux kernels"
167 depends on INSMOD || RMMOD || MODPROBE
169 Support module loading for newer 2.6.x Linux kernels.
171 config DEFAULT_MODULES_DIR
172 # Simulate indentation
173 string "default directory containing modules"
174 default "/lib/modules"
175 depends on INSMOD || RMMOD || MODPROBE || DEPMOD
177 Directory that contains kernel modules.
178 Defaults to "/lib/modules"
180 config DEFAULT_DEPMOD_FILE
181 # Simulate indentation
182 string "default name of modules.dep"
183 default "modules.dep"
184 depends on INSMOD || RMMOD || MODPROBE || DEPMOD
186 Filename that contains kernel modules dependencies.
187 Defaults to "modules.dep"
189 config FEATURE_QUERY_MODULE_INTERFACE
192 depends on FEATURE_2_4_MODULES && !FEATURE_2_6_MODULES