- improve help-text
[oweals/busybox.git] / 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 DEPMOD
9         bool "depmod"
10         default n
11         help
12           depmod generates modules.dep (FIXME: elaborate)
13
14 config INSMOD
15         bool "insmod"
16         default n
17         help
18           insmod is used to load specified modules in the running kernel.
19
20 config FEATURE_INSMOD_VERSION_CHECKING
21         bool "Module version checking"
22         default n
23         depends on INSMOD && FEATURE_2_4_MODULES
24         help
25           Support checking of versions for modules.  This is used to
26           ensure that the kernel and module are made for each other.
27
28 config FEATURE_INSMOD_KSYMOOPS_SYMBOLS
29         bool "Add module symbols to kernel symbol table"
30         default n
31         depends on INSMOD && FEATURE_2_4_MODULES
32         help
33           By adding module symbols to the kernel symbol table, Oops messages
34           occuring within kernel modules can be properly debugged.  By enabling
35           this feature, module symbols will always be added to the kernel symbol
36           table for properly debugging support.  If you are not interested in
37           Oops messages from kernel modules, say N.
38
39 config FEATURE_INSMOD_LOADINKMEM
40         bool "In kernel memory optimization (uClinux only)"
41         default n
42         depends on INSMOD && FEATURE_2_4_MODULES
43         help
44           This is a special uClinux only memory optimization that lets insmod
45           load the specified kernel module directly into kernel space, reducing
46           memory usage by preventing the need for two copies of the module
47           being loaded into memory.
48
49 config FEATURE_INSMOD_LOAD_MAP
50         bool "Enable load map (-m) option"
51         default n
52         depends on INSMOD && ( FEATURE_2_4_MODULES || FEATURE_2_6_MODULES )
53         help
54           Enabling this, one would be able to get a load map
55           output on stdout. This makes kernel module debugging
56           easier.
57           If you don't plan to debug kernel modules, you
58           don't need this option.
59
60 config FEATURE_INSMOD_LOAD_MAP_FULL
61         bool "Symbols in load map"
62         default y
63         depends on FEATURE_INSMOD_LOAD_MAP
64         help
65           Without this option, -m will only output section
66           load map.  With this option, -m will also output
67           symbols load map.
68
69 config RMMOD
70         bool "rmmod"
71         default n
72         help
73           rmmod is used to unload specified modules from the kernel.
74
75 config LSMOD
76         bool "lsmod"
77         default n
78         help
79           lsmod is used to display a list of loaded modules.
80
81 config FEATURE_LSMOD_PRETTY_2_6_OUTPUT
82         bool "Pretty output for 2.6.x Linux kernels"
83         default n
84         depends on LSMOD
85         help
86           This option makes output format of lsmod adjusted to
87           the format of module-init-tools for Linux kernel 2.6.
88
89 config MODPROBE
90         bool "modprobe"
91         default n
92         help
93           Handle the loading of modules, and their dependencies on a high
94           level.
95
96           Note that in the state, modprobe does not understand multiple
97           module options from the configuration file. See option below.
98
99 config FEATURE_MODPROBE_MULTIPLE_OPTIONS
100         bool
101         prompt "Multiple options parsing"
102         default y
103         depends on MODPROBE
104         help
105           Allow modprobe to understand more than one option to pass to
106           modules.
107
108           This is a WIP, while waiting for a common argument parsing
109           common amongst all BB applets (shell, modprobe, etc...) and
110           adds around 600 bytes on x86, 700 bytes on ARM. The code is
111           biggish and uggly, but just works.
112
113           Saying Y here is not a bad idea if you're not that short
114           on storage capacity.
115
116 config FEATURE_MODPROBE_FANCY_ALIAS
117         bool
118         prompt "Fancy alias parsing"
119         default y
120         depends on MODPROBE && FEATURE_2_6_MODULES
121         help
122           Say 'y' here to enable parsing of aliases with underscore/dash
123           mismatch between module name and file name, along with bus-specific
124           aliases (such as pci:... or usb:... aliases).
125
126 config FEATURE_MODPROBE_BLACKLIST
127         bool
128         prompt "Blacklist support"
129         default n
130         depends on MODPROBE && FEATURE_2_6_MODULES
131         help
132           Say 'y' here to enable support for the 'blacklist' command in 
133           modprobe.conf. This prevents the alias resolver to resolve 
134           blacklisted modules. This is useful if you want to prevent your 
135           hardware autodetection scripts to load modules like evdev, frame 
136           buffer drivers etc.
137
138 comment "Options common to multiple modutils"
139         depends on INSMOD || RMMOD || MODPROBE || LSMOD
140
141 config FEATURE_CHECK_TAINTED_MODULE
142         # Simulate indentation
143         bool "Support tainted module checking with new kernels"
144         default y
145         depends on INSMOD || LSMOD
146         help
147           Support checking for tainted modules.  These are usually binary
148           only modules that will make the linux-kernel list ignore your
149           support request.
150           This option is required to support GPLONLY modules.
151
152 config FEATURE_2_4_MODULES
153         # Simulate indentation
154         bool "Support version 2.2.x to 2.4.x Linux kernels"
155         default y
156         depends on INSMOD || RMMOD || MODPROBE
157         help
158           Support module loading for 2.2.x and 2.4.x Linux kernels.
159
160           Note:
161           This is automatically enabled if 2.6 modules are not enabled.
162
163 config FEATURE_2_6_MODULES
164         # Simulate indentation
165         bool "Support version 2.6.x Linux kernels"
166         default y
167         depends on INSMOD || RMMOD || MODPROBE
168         help
169           Support module loading for newer 2.6.x Linux kernels.
170
171
172 config FEATURE_QUERY_MODULE_INTERFACE
173         bool
174         default y
175         depends on FEATURE_2_4_MODULES && !FEATURE_2_6_MODULES
176
177
178 endmenu
179