source: MondoRescue/branches/2.2.9/mindi-busybox/modutils/Config.in@ 3320

Last change on this file since 3320 was 3320, checked in by Bruno Cornec, 9 years ago
  • Re-add (thanks git BTW) the 2.2.9 branch which had been destroyed in the move to 3.0
File size: 7.4 KB
Line 
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
7menu "Linux Module Utilities"
8depends on PLATFORM_LINUX
9
10config MODINFO
11 bool "modinfo"
12 default y
13 help
14 Show information about a Linux Kernel module
15
16config MODPROBE_SMALL
17 bool "Simplified modutils"
18 default y
19 help
20 Simplified modutils.
21
22 With this option modprobe does not require modules.dep file
23 and does not use /etc/modules.conf file.
24 It scans module files in /lib/modules/`uname -r` and
25 determines dependencies and module alias names on the fly.
26 This may make module loading slower, most notably
27 when one needs to load module by alias (this requires
28 scanning through module _bodies_).
29
30 At the first attempt to load a module by alias modprobe
31 will try to generate modules.dep.bb file in order to speed up
32 future loads by alias. Failure to do so (read-only /lib/modules,
33 etc) is not reported, and future modprobes will be slow too.
34
35 NB: modules.dep.bb file format is not compatible
36 with modules.dep file as created/used by standard module tools.
37
38 Additional module parameters can be stored in
39 /etc/modules/$module_name files.
40
41 Apart from modprobe, other utilities are also provided:
42 - insmod is an alias to modprobe
43 - rmmod is an alias to modprobe -r
44 - depmod generates modules.dep.bb
45
46 As of 2008-07, this code is experimental. It is 14kb smaller
47 than "non-small" modutils.
48
49config FEATURE_MODPROBE_SMALL_OPTIONS_ON_CMDLINE
50 bool "Accept module options on modprobe command line"
51 default y
52 depends on MODPROBE_SMALL
53 help
54 Allow insmod and modprobe take module options from command line.
55
56config FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED
57 bool "Skip loading of already loaded modules"
58 default y
59 depends on MODPROBE_SMALL
60 help
61 Check if the module is already loaded.
62
63config INSMOD
64 bool "insmod"
65 default n
66 depends on !MODPROBE_SMALL
67 help
68 insmod is used to load specified modules in the running kernel.
69
70config RMMOD
71 bool "rmmod"
72 default n
73 depends on !MODPROBE_SMALL
74 help
75 rmmod is used to unload specified modules from the kernel.
76
77config LSMOD
78 bool "lsmod"
79 default n
80 depends on !MODPROBE_SMALL
81 help
82 lsmod is used to display a list of loaded modules.
83
84config FEATURE_LSMOD_PRETTY_2_6_OUTPUT
85 bool "Pretty output"
86 default n
87 depends on LSMOD
88 help
89 This option makes output format of lsmod adjusted to
90 the format of module-init-tools for Linux kernel 2.6.
91 Increases size somewhat.
92
93config MODPROBE
94 bool "modprobe"
95 default n
96 depends on !MODPROBE_SMALL
97 help
98 Handle the loading of modules, and their dependencies on a high
99 level.
100
101config FEATURE_MODPROBE_BLACKLIST
102 bool "Blacklist support"
103 default n
104 depends on MODPROBE
105 help
106 Say 'y' here to enable support for the 'blacklist' command in
107 modprobe.conf. This prevents the alias resolver to resolve
108 blacklisted modules. This is useful if you want to prevent your
109 hardware autodetection scripts to load modules like evdev, frame
110 buffer drivers etc.
111
112config DEPMOD
113 bool "depmod"
114 default n
115 depends on !MODPROBE_SMALL
116 help
117 depmod generates modules.dep (and potentially modules.alias
118 and modules.symbols) that contain dependency information
119 for modprobe.
120
121comment "Options common to multiple modutils"
122
123config FEATURE_2_4_MODULES
124 bool "Support version 2.2/2.4 Linux kernels"
125 default n
126 depends on INSMOD || RMMOD || LSMOD
127 help
128 Support module loading for 2.2.x and 2.4.x Linux kernels.
129 This increases size considerably. Say N unless you plan
130 to run ancient kernels.
131
132config FEATURE_INSMOD_TRY_MMAP
133 bool "Try to load module from a mmap'ed area"
134 default n
135 depends on INSMOD || MODPROBE_SMALL
136 help
137 This option causes module loading code to try to mmap
138 module first. If it does not work (for example,
139 it does not work for compressed modules), module will be read
140 (and unpacked if needed) into a memory block allocated by malloc.
141
142 The only case when mmap works but malloc does not is when
143 you are trying to load a big module on a very memory-constrained
144 machine. Malloc will momentarily need 2x as much memory as mmap.
145
146 Choosing N saves about 250 bytes of code (on 32-bit x86).
147
148config FEATURE_INSMOD_VERSION_CHECKING
149 bool "Enable module version checking"
150 default n
151 depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE)
152 help
153 Support checking of versions for modules. This is used to
154 ensure that the kernel and module are made for each other.
155
156config FEATURE_INSMOD_KSYMOOPS_SYMBOLS
157 bool "Add module symbols to kernel symbol table"
158 default n
159 depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE)
160 help
161 By adding module symbols to the kernel symbol table, Oops messages
162 occuring within kernel modules can be properly debugged. By enabling
163 this feature, module symbols will always be added to the kernel symbol
164 table for proper debugging support. If you are not interested in
165 Oops messages from kernel modules, say N.
166
167config FEATURE_INSMOD_LOADINKMEM
168 bool "In kernel memory optimization (uClinux only)"
169 default n
170 depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE)
171 help
172 This is a special uClinux only memory optimization that lets insmod
173 load the specified kernel module directly into kernel space, reducing
174 memory usage by preventing the need for two copies of the module
175 being loaded into memory.
176
177config FEATURE_INSMOD_LOAD_MAP
178 bool "Enable insmod load map (-m) option"
179 default n
180 depends on FEATURE_2_4_MODULES && INSMOD
181 help
182 Enabling this, one would be able to get a load map
183 output on stdout. This makes kernel module debugging
184 easier.
185 If you don't plan to debug kernel modules, you
186 don't need this option.
187
188config FEATURE_INSMOD_LOAD_MAP_FULL
189 bool "Symbols in load map"
190 default y
191 depends on FEATURE_INSMOD_LOAD_MAP && !MODPROBE_SMALL
192 help
193 Without this option, -m will only output section
194 load map. With this option, -m will also output
195 symbols load map.
196
197config FEATURE_CHECK_TAINTED_MODULE
198 bool "Support tainted module checking with new kernels"
199 default y
200 depends on (LSMOD || FEATURE_2_4_MODULES) && !MODPROBE_SMALL
201 help
202 Support checking for tainted modules. These are usually binary
203 only modules that will make the linux-kernel list ignore your
204 support request.
205 This option is required to support GPLONLY modules.
206
207config FEATURE_MODUTILS_ALIAS
208 bool "Support for module.aliases file"
209 default y
210 depends on DEPMOD || MODPROBE
211 help
212 Generate and parse modules.alias containing aliases for bus
213 identifiers:
214 alias pcmcia:m*c*f03fn*pfn*pa*pb*pc*pd* parport_cs
215
216 and aliases for logical modules names e.g.:
217 alias padlock_aes aes
218 alias aes_i586 aes
219 alias aes_generic aes
220
221 Say Y if unsure.
222
223config FEATURE_MODUTILS_SYMBOLS
224 bool "Support for module.symbols file"
225 default y
226 depends on DEPMOD || MODPROBE
227 help
228 Generate and parse modules.symbols containing aliases for
229 symbol_request() kernel calls, such as:
230 alias symbol:usb_sg_init usbcore
231
232 Say Y if unsure.
233
234config DEFAULT_MODULES_DIR
235 string "Default directory containing modules"
236 default "/lib/modules"
237 depends on DEPMOD || MODPROBE || MODPROBE_SMALL || MODINFO
238 help
239 Directory that contains kernel modules.
240 Defaults to "/lib/modules"
241
242config DEFAULT_DEPMOD_FILE
243 string "Default name of modules.dep"
244 default "modules.dep"
245 depends on DEPMOD || MODPROBE || MODPROBE_SMALL || MODINFO
246 help
247 Filename that contains kernel modules dependencies.
248 Defaults to "modules.dep"
249
250endmenu
Note: See TracBrowser for help on using the repository browser.