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