lua: remove an unnecessary check and replace switch (GET_OPCODE(i)) as well (thx...
[openwrt.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_DEPMOD
9 bool "depmod"
10 default n
11 help
12 depmod generates modules.dep (FIXME: elaborate)
13
14 config BUSYBOX_CONFIG_FEATURE_DEPMOD_PRUNE_FANCY
15 bool "fancy dependency pruning"
16 default n
17 depends on BUSYBOX_CONFIG_DEPMOD
18 help
19 By default modules.dep contains all dependencies as listed by
20 the modules.
21 If you enable this option then we remove implied modules from
22 the dependencies.
23 This makes depmod somewhat bigger but generates a smaller
24 modules.dep file.
25
26 If unsure, say N.
27
28 config BUSYBOX_CONFIG_FEATURE_DEPMOD_ALIAS
29 bool "alias support"
30 default n
31 depends on BUSYBOX_CONFIG_DEPMOD
32 help
33 By default modules.dep does not contain alias information.
34 Enable this to emit aliases of the form:
35
36 alias pcmcia:m*c*f03fn*pfn*pa*pb*pc*pd* parport_cs
37
38 config BUSYBOX_CONFIG_INSMOD
39 bool "insmod"
40 default y
41 help
42 insmod is used to load specified modules in the running kernel.
43
44 config BUSYBOX_CONFIG_FEATURE_INSMOD_VERSION_CHECKING
45 bool "Module version checking"
46 default n
47 depends on BUSYBOX_CONFIG_INSMOD && BUSYBOX_CONFIG_FEATURE_2_4_MODULES
48 help
49 Support checking of versions for modules. This is used to
50 ensure that the kernel and module are made for each other.
51
52 config BUSYBOX_CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS
53 bool "Add module symbols to kernel symbol table"
54 default n
55 depends on BUSYBOX_CONFIG_INSMOD && BUSYBOX_CONFIG_FEATURE_2_4_MODULES
56 help
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.
62
63 config BUSYBOX_CONFIG_FEATURE_INSMOD_LOADINKMEM
64 bool "In kernel memory optimization (uClinux only)"
65 default n
66 depends on BUSYBOX_CONFIG_INSMOD && BUSYBOX_CONFIG_FEATURE_2_4_MODULES
67 help
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.
72
73 config BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP
74 bool "Enable load map (-m) option"
75 default n
76 depends on BUSYBOX_CONFIG_INSMOD && ( BUSYBOX_CONFIG_FEATURE_2_4_MODULES || BUSYBOX_CONFIG_FEATURE_2_6_MODULES )
77 help
78 Enabling this, one would be able to get a load map
79 output on stdout. This makes kernel module debugging
80 easier.
81 If you don't plan to debug kernel modules, you
82 don't need this option.
83
84 config BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL
85 bool "Symbols in load map"
86 default n
87 depends on BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP
88 help
89 Without this option, -m will only output section
90 load map. With this option, -m will also output
91 symbols load map.
92
93 config BUSYBOX_CONFIG_RMMOD
94 bool "rmmod"
95 default y
96 help
97 rmmod is used to unload specified modules from the kernel.
98
99 config BUSYBOX_CONFIG_LSMOD
100 bool "lsmod"
101 default y
102 help
103 lsmod is used to display a list of loaded modules.
104
105 config BUSYBOX_CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT
106 bool "Pretty output for 2.6.x Linux kernels"
107 default y
108 depends on BUSYBOX_CONFIG_LSMOD
109 help
110 This option makes output format of lsmod adjusted to
111 the format of module-init-tools for Linux kernel 2.6.
112
113 config BUSYBOX_CONFIG_MODPROBE
114 bool "modprobe"
115 default n
116 help
117 Handle the loading of modules, and their dependencies on a high
118 level.
119
120 Note that in the state, modprobe does not understand multiple
121 module options from the configuration file. See option below.
122
123 config BUSYBOX_CONFIG_FEATURE_MODPROBE_MULTIPLE_OPTIONS
124 bool
125 prompt "Multiple options parsing"
126 default n
127 depends on BUSYBOX_CONFIG_MODPROBE
128 help
129 Allow modprobe to understand more than one option to pass to
130 modules.
131
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.
136
137 Saying Y here is not a bad idea if you're not that short
138 on storage capacity.
139
140 config BUSYBOX_CONFIG_FEATURE_MODPROBE_FANCY_ALIAS
141 bool
142 prompt "Fancy alias parsing"
143 default n
144 depends on BUSYBOX_CONFIG_MODPROBE && BUSYBOX_CONFIG_FEATURE_2_6_MODULES
145 help
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).
149
150 config BUSYBOX_CONFIG_FEATURE_MODPROBE_BLACKLIST
151 bool
152 prompt "Blacklist support"
153 default n
154 depends on BUSYBOX_CONFIG_MODPROBE && BUSYBOX_CONFIG_FEATURE_2_6_MODULES
155 help
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
160 buffer drivers etc.
161
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
164
165 config BUSYBOX_CONFIG_FEATURE_CHECK_TAINTED_MODULE
166 # Simulate indentation
167 bool "Support tainted module checking with new kernels"
168 default y
169 depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_LSMOD
170 help
171 Support checking for tainted modules. These are usually binary
172 only modules that will make the linux-kernel list ignore your
173 support request.
174 This option is required to support GPLONLY modules.
175
176 config BUSYBOX_CONFIG_FEATURE_2_4_MODULES
177 # Simulate indentation
178 bool "Support version 2.2.x to 2.4.x Linux kernels"
179 default n
180 depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_RMMOD || BUSYBOX_CONFIG_MODPROBE
181 help
182 Support module loading for 2.2.x and 2.4.x Linux kernels.
183
184 Note:
185 This is automatically enabled if 2.6 modules are not enabled.
186
187 config BUSYBOX_CONFIG_FEATURE_2_6_MODULES
188 # Simulate indentation
189 bool "Support version 2.6.x Linux kernels"
190 default y
191 depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_RMMOD || BUSYBOX_CONFIG_MODPROBE
192 help
193 Support module loading for newer 2.6.x Linux kernels.
194
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
200 help
201 Directory that contains kernel modules.
202 Defaults to "/lib/modules"
203
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
209 help
210 Filename that contains kernel modules dependencies.
211 Defaults to "modules.dep"
212
213 config BUSYBOX_CONFIG_FEATURE_QUERY_MODULE_INTERFACE
214 bool
215 default n
216 depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && !BUSYBOX_CONFIG_FEATURE_2_6_MODULES
217
218 endmenu
This page took 0.075241 seconds and 5 git commands to generate.