1 # DO NOT EDIT. This file is generated from Config.src
3 # For a description of the syntax of this configuration file,
4 # see scripts/kbuild/config-language.txt.
7 menu "Linux Module Utilities"
9 config BUSYBOX_CONFIG_MODPROBE_SMALL
10 bool "Simplified modutils"
11 default BUSYBOX_DEFAULT_MODPROBE_SMALL
13 Build smaller (~1.5 kbytes), simplified module tools.
15 This option by itself does not enable any applets -
16 you need to select applets individually below.
18 With this option modprobe does not require modules.dep file
19 and does not use /etc/modules.conf file.
20 It scans module files in /lib/modules/`uname -r` and
21 determines dependencies and module alias names on the fly.
22 This may make module loading slower, most notably
23 when one needs to load module by alias (this requires
24 scanning through module _bodies_).
26 At the first attempt to load a module by alias modprobe
27 will try to generate modules.dep.bb file in order to speed up
28 future loads by alias. Failure to do so (read-only /lib/modules,
29 etc) is not reported, and future modprobes will be slow too.
31 NB: modules.dep.bb file format is not compatible
32 with modules.dep file as created/used by standard module tools.
34 Additional module parameters can be stored in
35 /etc/modules/$module_name files.
37 config BUSYBOX_CONFIG_DEPMOD
39 default BUSYBOX_DEFAULT_DEPMOD
40 select BUSYBOX_CONFIG_PLATFORM_LINUX
42 depmod generates modules.dep (and potentially modules.alias
43 and modules.symbols) that contain dependency information
45 config BUSYBOX_CONFIG_INSMOD
47 default BUSYBOX_DEFAULT_INSMOD
48 select BUSYBOX_CONFIG_PLATFORM_LINUX
50 insmod is used to load specified modules in the running kernel.
51 config BUSYBOX_CONFIG_LSMOD
53 default BUSYBOX_DEFAULT_LSMOD
54 select BUSYBOX_CONFIG_PLATFORM_LINUX
56 lsmod is used to display a list of loaded modules.
58 config BUSYBOX_CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT
60 default BUSYBOX_DEFAULT_FEATURE_LSMOD_PRETTY_2_6_OUTPUT
61 depends on BUSYBOX_CONFIG_LSMOD && !BUSYBOX_CONFIG_MODPROBE_SMALL
63 This option makes output format of lsmod adjusted to
64 the format of module-init-tools for Linux kernel 2.6.
65 Increases size somewhat.
66 config BUSYBOX_CONFIG_MODINFO
68 default BUSYBOX_DEFAULT_MODINFO
69 select BUSYBOX_CONFIG_PLATFORM_LINUX
71 Show information about a Linux Kernel module
72 config BUSYBOX_CONFIG_MODPROBE
74 default BUSYBOX_DEFAULT_MODPROBE
75 select BUSYBOX_CONFIG_PLATFORM_LINUX
77 Handle the loading of modules, and their dependencies on a high
80 config BUSYBOX_CONFIG_FEATURE_MODPROBE_BLACKLIST
81 bool "Blacklist support"
82 default BUSYBOX_DEFAULT_FEATURE_MODPROBE_BLACKLIST
83 depends on BUSYBOX_CONFIG_MODPROBE && !BUSYBOX_CONFIG_MODPROBE_SMALL
85 Say 'y' here to enable support for the 'blacklist' command in
86 modprobe.conf. This prevents the alias resolver to resolve
87 blacklisted modules. This is useful if you want to prevent your
88 hardware autodetection scripts to load modules like evdev, frame
90 config BUSYBOX_CONFIG_RMMOD
92 default BUSYBOX_DEFAULT_RMMOD
93 select BUSYBOX_CONFIG_PLATFORM_LINUX
95 rmmod is used to unload specified modules from the kernel.
97 comment "Options common to multiple modutils"
99 config BUSYBOX_CONFIG_FEATURE_CMDLINE_MODULE_OPTIONS
100 bool "Accept module options on modprobe command line"
101 default BUSYBOX_DEFAULT_FEATURE_CMDLINE_MODULE_OPTIONS
102 depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE
104 Allow insmod and modprobe take module options from the applets'
107 config BUSYBOX_CONFIG_FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED
108 bool "Skip loading of already loaded modules"
109 default BUSYBOX_DEFAULT_FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED
110 depends on BUSYBOX_CONFIG_MODPROBE_SMALL && (BUSYBOX_CONFIG_DEPMOD || BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE)
112 Check if the module is already loaded.
114 config BUSYBOX_CONFIG_FEATURE_2_4_MODULES
115 bool "Support version 2.2/2.4 Linux kernels"
116 default BUSYBOX_DEFAULT_FEATURE_2_4_MODULES
117 depends on (BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_LSMOD || BUSYBOX_CONFIG_MODPROBE || BUSYBOX_CONFIG_RMMOD) && !BUSYBOX_CONFIG_MODPROBE_SMALL
119 Support module loading for 2.2.x and 2.4.x Linux kernels.
120 This increases size considerably. Say N unless you plan
121 to run ancient kernels.
123 config BUSYBOX_CONFIG_FEATURE_INSMOD_VERSION_CHECKING
124 bool "Enable module version checking"
125 default BUSYBOX_DEFAULT_FEATURE_INSMOD_VERSION_CHECKING
126 depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && (BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE)
128 Support checking of versions for modules. This is used to
129 ensure that the kernel and module are made for each other.
131 config BUSYBOX_CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS
132 bool "Add module symbols to kernel symbol table"
133 default BUSYBOX_DEFAULT_FEATURE_INSMOD_KSYMOOPS_SYMBOLS
134 depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && (BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE)
136 By adding module symbols to the kernel symbol table, Oops messages
137 occurring within kernel modules can be properly debugged. By enabling
138 this feature, module symbols will always be added to the kernel symbol
139 table for proper debugging support. If you are not interested in
140 Oops messages from kernel modules, say N.
142 config BUSYBOX_CONFIG_FEATURE_INSMOD_LOADINKMEM
143 bool "In kernel memory optimization (uClinux only)"
144 default BUSYBOX_DEFAULT_FEATURE_INSMOD_LOADINKMEM
145 depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && (BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE)
147 This is a special uClinux only memory optimization that lets insmod
148 load the specified kernel module directly into kernel space, reducing
149 memory usage by preventing the need for two copies of the module
150 being loaded into memory.
152 config BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP
153 bool "Enable insmod load map (-m) option"
154 default BUSYBOX_DEFAULT_FEATURE_INSMOD_LOAD_MAP
155 depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && BUSYBOX_CONFIG_INSMOD
157 Enabling this, one would be able to get a load map
158 output on stdout. This makes kernel module debugging
160 If you don't plan to debug kernel modules, you
161 don't need this option.
163 config BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL
164 bool "Symbols in load map"
165 default BUSYBOX_DEFAULT_FEATURE_INSMOD_LOAD_MAP_FULL
166 depends on BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP
168 Without this option, -m will only output section
169 load map. With this option, -m will also output
172 config BUSYBOX_CONFIG_FEATURE_CHECK_TAINTED_MODULE
173 bool "Support tainted module checking with new kernels"
174 default BUSYBOX_DEFAULT_FEATURE_CHECK_TAINTED_MODULE
175 depends on (BUSYBOX_CONFIG_LSMOD || BUSYBOX_CONFIG_FEATURE_2_4_MODULES) && !BUSYBOX_CONFIG_MODPROBE_SMALL
177 Support checking for tainted modules. These are usually binary
178 only modules that will make the linux-kernel list ignore your
180 This option is required to support GPLONLY modules.
182 config BUSYBOX_CONFIG_FEATURE_INSMOD_TRY_MMAP
183 bool "Try to load module from a mmap'ed area"
184 default BUSYBOX_DEFAULT_FEATURE_INSMOD_TRY_MMAP
185 depends on (BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE) && !BUSYBOX_CONFIG_MODPROBE_SMALL
187 This option causes module loading code to try to mmap
188 module first. If it does not work (for example,
189 it does not work for compressed modules), module will be read
190 (and unpacked if needed) into a memory block allocated by malloc.
192 The only case when mmap works but malloc does not is when
193 you are trying to load a big module on a very memory-constrained
194 machine. Malloc will momentarily need 2x as much memory as mmap.
196 Choosing N saves about 250 bytes of code (on 32-bit x86).
198 config BUSYBOX_CONFIG_FEATURE_MODUTILS_ALIAS
199 bool "Support module.aliases file"
200 default BUSYBOX_DEFAULT_FEATURE_MODUTILS_ALIAS
201 depends on (BUSYBOX_CONFIG_DEPMOD || BUSYBOX_CONFIG_MODPROBE) && !BUSYBOX_CONFIG_MODPROBE_SMALL
203 Generate and parse modules.alias containing aliases for bus
205 alias pcmcia:m*c*f03fn*pfn*pa*pb*pc*pd* parport_cs
207 and aliases for logical modules names e.g.:
208 alias padlock_aes aes
210 alias aes_generic aes
214 config BUSYBOX_CONFIG_FEATURE_MODUTILS_SYMBOLS
215 bool "Support module.symbols file"
216 default BUSYBOX_DEFAULT_FEATURE_MODUTILS_SYMBOLS
217 depends on (BUSYBOX_CONFIG_DEPMOD || BUSYBOX_CONFIG_MODPROBE) && !BUSYBOX_CONFIG_MODPROBE_SMALL
219 Generate and parse modules.symbols containing aliases for
220 symbol_request() kernel calls, such as:
221 alias symbol:usb_sg_init usbcore
225 config BUSYBOX_CONFIG_DEFAULT_MODULES_DIR
226 string "Default directory containing modules"
227 default BUSYBOX_DEFAULT_DEFAULT_MODULES_DIR
228 depends on BUSYBOX_CONFIG_DEPMOD || BUSYBOX_CONFIG_MODPROBE || BUSYBOX_CONFIG_MODINFO
230 Directory that contains kernel modules.
231 Defaults to "/lib/modules"
233 config BUSYBOX_CONFIG_DEFAULT_DEPMOD_FILE
234 string "Default name of modules.dep"
235 default BUSYBOX_DEFAULT_DEFAULT_DEPMOD_FILE
236 depends on BUSYBOX_CONFIG_DEPMOD || BUSYBOX_CONFIG_MODPROBE || BUSYBOX_CONFIG_MODINFO
238 Filename that contains kernel modules dependencies.
239 Defaults to "modules.dep".
240 If you configured the "simplified modutils" (MODPROBE_SMALL), a
241 ".bb" suffix will be added after this name. Do not specify ".bb"
242 here unless you intend your depmod or modprobe to work on
243 "modules.dep.bb.bb" or such.