busybox: update to version 1.25.0
[openwrt/staging/rmilecki.git] / package / utils / busybox / config / modutils / Config.in
1 # DO NOT EDIT. This file is generated from Config.src
2 #
3 # For a description of the syntax of this configuration file,
4 # see scripts/kbuild/config-language.txt.
5 #
6
7 menu "Linux Module Utilities"
8
9 config BUSYBOX_CONFIG_MODINFO
10 bool "modinfo"
11 default BUSYBOX_DEFAULT_MODINFO
12 select BUSYBOX_CONFIG_PLATFORM_LINUX
13 help
14 Show information about a Linux Kernel module
15
16 config BUSYBOX_CONFIG_MODPROBE_SMALL
17 bool "Simplified modutils"
18 default BUSYBOX_DEFAULT_MODPROBE_SMALL
19 select BUSYBOX_CONFIG_PLATFORM_LINUX
20 help
21 Simplified modutils.
22
23 With this option modprobe does not require modules.dep file
24 and does not use /etc/modules.conf file.
25 It scans module files in /lib/modules/`uname -r` and
26 determines dependencies and module alias names on the fly.
27 This may make module loading slower, most notably
28 when one needs to load module by alias (this requires
29 scanning through module _bodies_).
30
31 At the first attempt to load a module by alias modprobe
32 will try to generate modules.dep.bb file in order to speed up
33 future loads by alias. Failure to do so (read-only /lib/modules,
34 etc) is not reported, and future modprobes will be slow too.
35
36 NB: modules.dep.bb file format is not compatible
37 with modules.dep file as created/used by standard module tools.
38
39 Additional module parameters can be stored in
40 /etc/modules/$module_name files.
41
42 Apart from modprobe, other utilities are also provided:
43 - insmod is an alias to modprobe
44 - rmmod is an alias to modprobe -r
45 - depmod generates modules.dep.bb
46
47 config BUSYBOX_CONFIG_FEATURE_MODPROBE_SMALL_OPTIONS_ON_CMDLINE
48 bool "Accept module options on modprobe command line"
49 default BUSYBOX_DEFAULT_FEATURE_MODPROBE_SMALL_OPTIONS_ON_CMDLINE
50 depends on BUSYBOX_CONFIG_MODPROBE_SMALL
51 select BUSYBOX_CONFIG_PLATFORM_LINUX
52 help
53 Allow insmod and modprobe take module options from command line.
54
55 config BUSYBOX_CONFIG_FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED
56 bool "Skip loading of already loaded modules"
57 default BUSYBOX_DEFAULT_FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED
58 depends on BUSYBOX_CONFIG_MODPROBE_SMALL
59 help
60 Check if the module is already loaded.
61
62 config BUSYBOX_CONFIG_INSMOD
63 bool "insmod"
64 default BUSYBOX_DEFAULT_INSMOD
65 depends on !BUSYBOX_CONFIG_MODPROBE_SMALL
66 select BUSYBOX_CONFIG_PLATFORM_LINUX
67 help
68 insmod is used to load specified modules in the running kernel.
69
70 config BUSYBOX_CONFIG_RMMOD
71 bool "rmmod"
72 default BUSYBOX_DEFAULT_RMMOD
73 depends on !BUSYBOX_CONFIG_MODPROBE_SMALL
74 select BUSYBOX_CONFIG_PLATFORM_LINUX
75 help
76 rmmod is used to unload specified modules from the kernel.
77
78 config BUSYBOX_CONFIG_LSMOD
79 bool "lsmod"
80 default BUSYBOX_DEFAULT_LSMOD
81 depends on !BUSYBOX_CONFIG_MODPROBE_SMALL
82 select BUSYBOX_CONFIG_PLATFORM_LINUX
83 help
84 lsmod is used to display a list of loaded modules.
85
86 config BUSYBOX_CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT
87 bool "Pretty output"
88 default BUSYBOX_DEFAULT_FEATURE_LSMOD_PRETTY_2_6_OUTPUT
89 depends on BUSYBOX_CONFIG_LSMOD
90 select BUSYBOX_CONFIG_PLATFORM_LINUX
91 help
92 This option makes output format of lsmod adjusted to
93 the format of module-init-tools for Linux kernel 2.6.
94 Increases size somewhat.
95
96 config BUSYBOX_CONFIG_MODPROBE
97 bool "modprobe"
98 default BUSYBOX_DEFAULT_MODPROBE
99 depends on !BUSYBOX_CONFIG_MODPROBE_SMALL
100 select BUSYBOX_CONFIG_PLATFORM_LINUX
101 help
102 Handle the loading of modules, and their dependencies on a high
103 level.
104
105 config BUSYBOX_CONFIG_FEATURE_MODPROBE_BLACKLIST
106 bool "Blacklist support"
107 default BUSYBOX_DEFAULT_FEATURE_MODPROBE_BLACKLIST
108 depends on BUSYBOX_CONFIG_MODPROBE
109 select BUSYBOX_CONFIG_PLATFORM_LINUX
110 help
111 Say 'y' here to enable support for the 'blacklist' command in
112 modprobe.conf. This prevents the alias resolver to resolve
113 blacklisted modules. This is useful if you want to prevent your
114 hardware autodetection scripts to load modules like evdev, frame
115 buffer drivers etc.
116
117 config BUSYBOX_CONFIG_DEPMOD
118 bool "depmod"
119 default BUSYBOX_DEFAULT_DEPMOD
120 depends on !BUSYBOX_CONFIG_MODPROBE_SMALL
121 select BUSYBOX_CONFIG_PLATFORM_LINUX
122 help
123 depmod generates modules.dep (and potentially modules.alias
124 and modules.symbols) that contain dependency information
125 for modprobe.
126
127 comment "Options common to multiple modutils"
128
129 config BUSYBOX_CONFIG_FEATURE_2_4_MODULES
130 bool "Support version 2.2/2.4 Linux kernels"
131 default BUSYBOX_DEFAULT_FEATURE_2_4_MODULES
132 depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_RMMOD || BUSYBOX_CONFIG_LSMOD
133 select BUSYBOX_CONFIG_PLATFORM_LINUX
134 help
135 Support module loading for 2.2.x and 2.4.x Linux kernels.
136 This increases size considerably. Say N unless you plan
137 to run ancient kernels.
138
139 config BUSYBOX_CONFIG_FEATURE_INSMOD_TRY_MMAP
140 bool "Try to load module from a mmap'ed area"
141 default BUSYBOX_DEFAULT_FEATURE_INSMOD_TRY_MMAP
142 depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE_SMALL
143 select BUSYBOX_CONFIG_PLATFORM_LINUX
144 help
145 This option causes module loading code to try to mmap
146 module first. If it does not work (for example,
147 it does not work for compressed modules), module will be read
148 (and unpacked if needed) into a memory block allocated by malloc.
149
150 The only case when mmap works but malloc does not is when
151 you are trying to load a big module on a very memory-constrained
152 machine. Malloc will momentarily need 2x as much memory as mmap.
153
154 Choosing N saves about 250 bytes of code (on 32-bit x86).
155
156 config BUSYBOX_CONFIG_FEATURE_INSMOD_VERSION_CHECKING
157 bool "Enable module version checking"
158 default BUSYBOX_DEFAULT_FEATURE_INSMOD_VERSION_CHECKING
159 depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && (BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE)
160 select BUSYBOX_CONFIG_PLATFORM_LINUX
161 help
162 Support checking of versions for modules. This is used to
163 ensure that the kernel and module are made for each other.
164
165 config BUSYBOX_CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS
166 bool "Add module symbols to kernel symbol table"
167 default BUSYBOX_DEFAULT_FEATURE_INSMOD_KSYMOOPS_SYMBOLS
168 depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && (BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE)
169 select BUSYBOX_CONFIG_PLATFORM_LINUX
170 help
171 By adding module symbols to the kernel symbol table, Oops messages
172 occuring within kernel modules can be properly debugged. By enabling
173 this feature, module symbols will always be added to the kernel symbol
174 table for proper debugging support. If you are not interested in
175 Oops messages from kernel modules, say N.
176
177 config BUSYBOX_CONFIG_FEATURE_INSMOD_LOADINKMEM
178 bool "In kernel memory optimization (uClinux only)"
179 default BUSYBOX_DEFAULT_FEATURE_INSMOD_LOADINKMEM
180 depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && (BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_MODPROBE)
181 select BUSYBOX_CONFIG_PLATFORM_LINUX
182 help
183 This is a special uClinux only memory optimization that lets insmod
184 load the specified kernel module directly into kernel space, reducing
185 memory usage by preventing the need for two copies of the module
186 being loaded into memory.
187
188 config BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP
189 bool "Enable insmod load map (-m) option"
190 default BUSYBOX_DEFAULT_FEATURE_INSMOD_LOAD_MAP
191 depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && BUSYBOX_CONFIG_INSMOD
192 select BUSYBOX_CONFIG_PLATFORM_LINUX
193 help
194 Enabling this, one would be able to get a load map
195 output on stdout. This makes kernel module debugging
196 easier.
197 If you don't plan to debug kernel modules, you
198 don't need this option.
199
200 config BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL
201 bool "Symbols in load map"
202 default BUSYBOX_DEFAULT_FEATURE_INSMOD_LOAD_MAP_FULL
203 depends on BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP && !BUSYBOX_CONFIG_MODPROBE_SMALL
204 select BUSYBOX_CONFIG_PLATFORM_LINUX
205 help
206 Without this option, -m will only output section
207 load map. With this option, -m will also output
208 symbols load map.
209
210 config BUSYBOX_CONFIG_FEATURE_CHECK_TAINTED_MODULE
211 bool "Support tainted module checking with new kernels"
212 default BUSYBOX_DEFAULT_FEATURE_CHECK_TAINTED_MODULE
213 depends on (BUSYBOX_CONFIG_LSMOD || BUSYBOX_CONFIG_FEATURE_2_4_MODULES) && !BUSYBOX_CONFIG_MODPROBE_SMALL
214 select BUSYBOX_CONFIG_PLATFORM_LINUX
215 help
216 Support checking for tainted modules. These are usually binary
217 only modules that will make the linux-kernel list ignore your
218 support request.
219 This option is required to support GPLONLY modules.
220
221 config BUSYBOX_CONFIG_FEATURE_MODUTILS_ALIAS
222 bool "Support for module.aliases file"
223 default BUSYBOX_DEFAULT_FEATURE_MODUTILS_ALIAS
224 depends on BUSYBOX_CONFIG_DEPMOD || BUSYBOX_CONFIG_MODPROBE
225 select BUSYBOX_CONFIG_PLATFORM_LINUX
226 help
227 Generate and parse modules.alias containing aliases for bus
228 identifiers:
229 alias pcmcia:m*c*f03fn*pfn*pa*pb*pc*pd* parport_cs
230
231 and aliases for logical modules names e.g.:
232 alias padlock_aes aes
233 alias aes_i586 aes
234 alias aes_generic aes
235
236 Say Y if unsure.
237
238 config BUSYBOX_CONFIG_FEATURE_MODUTILS_SYMBOLS
239 bool "Support for module.symbols file"
240 default BUSYBOX_DEFAULT_FEATURE_MODUTILS_SYMBOLS
241 depends on BUSYBOX_CONFIG_DEPMOD || BUSYBOX_CONFIG_MODPROBE
242 select BUSYBOX_CONFIG_PLATFORM_LINUX
243 help
244 Generate and parse modules.symbols containing aliases for
245 symbol_request() kernel calls, such as:
246 alias symbol:usb_sg_init usbcore
247
248 Say Y if unsure.
249
250 config BUSYBOX_CONFIG_DEFAULT_MODULES_DIR
251 string "Default directory containing modules"
252 default BUSYBOX_DEFAULT_DEFAULT_MODULES_DIR
253 depends on BUSYBOX_CONFIG_DEPMOD || BUSYBOX_CONFIG_MODPROBE || BUSYBOX_CONFIG_MODPROBE_SMALL || BUSYBOX_CONFIG_MODINFO
254 help
255 Directory that contains kernel modules.
256 Defaults to "/lib/modules"
257
258 config BUSYBOX_CONFIG_DEFAULT_DEPMOD_FILE
259 string "Default name of modules.dep"
260 default BUSYBOX_DEFAULT_DEFAULT_DEPMOD_FILE
261 depends on BUSYBOX_CONFIG_DEPMOD || BUSYBOX_CONFIG_MODPROBE || BUSYBOX_CONFIG_MODPROBE_SMALL || BUSYBOX_CONFIG_MODINFO
262 help
263 Filename that contains kernel modules dependencies.
264 Defaults to "modules.dep"
265
266 endmenu