2 # For a description of the syntax of this configuration file,
3 # see scripts/kbuild/config-language.txt.
6 menu "Linux Module Utilities"
8 config BUSYBOX_CONFIG_DEPMOD
12 depmod generates modules.dep (FIXME: elaborate)
14 config BUSYBOX_CONFIG_FEATURE_DEPMOD_PRUNE_FANCY
15 bool "fancy dependency pruning"
17 depends on BUSYBOX_CONFIG_DEPMOD
19 By default modules.dep contains all dependencies as listed by
21 If you enable this option then we remove implied modules from
23 This makes depmod somewhat bigger but generates a smaller
28 config BUSYBOX_CONFIG_FEATURE_DEPMOD_ALIAS
31 depends on BUSYBOX_CONFIG_DEPMOD
33 By default modules.dep does not contain alias information.
34 Enable this to emit aliases of the form:
36 alias pcmcia:m*c*f03fn*pfn*pa*pb*pc*pd* parport_cs
38 config BUSYBOX_CONFIG_INSMOD
42 insmod is used to load specified modules in the running kernel.
44 config BUSYBOX_CONFIG_FEATURE_INSMOD_VERSION_CHECKING
45 bool "Module version checking"
47 depends on BUSYBOX_CONFIG_INSMOD && BUSYBOX_CONFIG_FEATURE_2_4_MODULES
49 Support checking of versions for modules. This is used to
50 ensure that the kernel and module are made for each other.
52 config BUSYBOX_CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS
53 bool "Add module symbols to kernel symbol table"
55 depends on BUSYBOX_CONFIG_INSMOD && BUSYBOX_CONFIG_FEATURE_2_4_MODULES
57 By adding module symbols to the kernel symbol table, Oops messages
58 occuring within kernel modules can be properly debugged. By enabling
59 this feature, module symbols will always be added to the kernel symbol
60 table for properly debugging support. If you are not interested in
61 Oops messages from kernel modules, say N.
63 config BUSYBOX_CONFIG_FEATURE_INSMOD_LOADINKMEM
64 bool "In kernel memory optimization (uClinux only)"
66 depends on BUSYBOX_CONFIG_INSMOD && BUSYBOX_CONFIG_FEATURE_2_4_MODULES
68 This is a special uClinux only memory optimization that lets insmod
69 load the specified kernel module directly into kernel space, reducing
70 memory usage by preventing the need for two copies of the module
71 being loaded into memory.
73 config BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP
74 bool "Enable load map (-m) option"
76 depends on BUSYBOX_CONFIG_INSMOD && ( BUSYBOX_CONFIG_FEATURE_2_4_MODULES || BUSYBOX_CONFIG_FEATURE_2_6_MODULES )
78 Enabling this, one would be able to get a load map
79 output on stdout. This makes kernel module debugging
81 If you don't plan to debug kernel modules, you
82 don't need this option.
84 config BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL
85 bool "Symbols in load map"
87 depends on BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP
89 Without this option, -m will only output section
90 load map. With this option, -m will also output
93 config BUSYBOX_CONFIG_RMMOD
97 rmmod is used to unload specified modules from the kernel.
99 config BUSYBOX_CONFIG_LSMOD
103 lsmod is used to display a list of loaded modules.
105 config BUSYBOX_CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT
106 bool "Pretty output for 2.6.x Linux kernels"
108 depends on BUSYBOX_CONFIG_LSMOD
110 This option makes output format of lsmod adjusted to
111 the format of module-init-tools for Linux kernel 2.6.
113 config BUSYBOX_CONFIG_MODPROBE
117 Handle the loading of modules, and their dependencies on a high
120 Note that in the state, modprobe does not understand multiple
121 module options from the configuration file. See option below.
123 config BUSYBOX_CONFIG_FEATURE_MODPROBE_MULTIPLE_OPTIONS
125 prompt "Multiple options parsing"
127 depends on BUSYBOX_CONFIG_MODPROBE
129 Allow modprobe to understand more than one option to pass to
132 This is a WIP, while waiting for a common argument parsing
133 common amongst all BB applets (shell, modprobe, etc...) and
134 adds around 600 bytes on x86, 700 bytes on ARM. The code is
135 biggish and uggly, but just works.
137 Saying Y here is not a bad idea if you're not that short
140 config BUSYBOX_CONFIG_FEATURE_MODPROBE_FANCY_ALIAS
142 prompt "Fancy alias parsing"
144 depends on BUSYBOX_CONFIG_MODPROBE && BUSYBOX_CONFIG_FEATURE_2_6_MODULES
146 Say 'y' here to enable parsing of aliases with underscore/dash
147 mismatch between module name and file name, along with bus-specific
148 aliases (such as pci:... or usb:... aliases).
150 config BUSYBOX_CONFIG_FEATURE_MODPROBE_BLACKLIST
152 prompt "Blacklist support"
154 depends on BUSYBOX_CONFIG_MODPROBE && BUSYBOX_CONFIG_FEATURE_2_6_MODULES
156 Say 'y' here to enable support for the 'blacklist' command in
157 modprobe.conf. This prevents the alias resolver to resolve
158 blacklisted modules. This is useful if you want to prevent your
159 hardware autodetection scripts to load modules like evdev, frame
162 comment "Options common to multiple modutils"
163 depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_RMMOD || BUSYBOX_CONFIG_MODPROBE || BUSYBOX_CONFIG_LSMOD || BUSYBOX_CONFIG_DEPMOD
165 config BUSYBOX_CONFIG_FEATURE_CHECK_TAINTED_MODULE
166 # Simulate indentation
167 bool "Support tainted module checking with new kernels"
169 depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_LSMOD
171 Support checking for tainted modules. These are usually binary
172 only modules that will make the linux-kernel list ignore your
174 This option is required to support GPLONLY modules.
176 config BUSYBOX_CONFIG_FEATURE_2_4_MODULES
177 # Simulate indentation
178 bool "Support version 2.2.x to 2.4.x Linux kernels"
180 depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_RMMOD || BUSYBOX_CONFIG_MODPROBE
182 Support module loading for 2.2.x and 2.4.x Linux kernels.
185 This is automatically enabled if 2.6 modules are not enabled.
187 config BUSYBOX_CONFIG_FEATURE_2_6_MODULES
188 # Simulate indentation
189 bool "Support version 2.6.x Linux kernels"
191 depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_RMMOD || BUSYBOX_CONFIG_MODPROBE
193 Support module loading for newer 2.6.x Linux kernels.
195 config BUSYBOX_CONFIG_DEFAULT_MODULES_DIR
196 # Simulate indentation
197 string "Default directory containing modules"
198 default "/lib/modules"
199 depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_RMMOD || BUSYBOX_CONFIG_MODPROBE || BUSYBOX_CONFIG_DEPMOD
201 Directory that contains kernel modules.
202 Defaults to "/lib/modules"
204 config BUSYBOX_CONFIG_DEFAULT_DEPMOD_FILE
205 # Simulate indentation
206 string "Default name of modules.dep"
207 default "modules.dep"
208 depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_RMMOD || BUSYBOX_CONFIG_MODPROBE || BUSYBOX_CONFIG_DEPMOD
210 Filename that contains kernel modules dependencies.
211 Defaults to "modules.dep"
213 config BUSYBOX_CONFIG_FEATURE_QUERY_MODULE_INTERFACE
216 depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && !BUSYBOX_CONFIG_FEATURE_2_6_MODULES