add kernel 2.6 insmod support as default, just adds a few bytes
[openwrt-10.03/.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_INSMOD
9         bool "insmod"
10         default y
11         help
12           insmod is used to load specified modules in the running kernel.
13
14 config BUSYBOX_CONFIG_FEATURE_2_4_MODULES
15         bool "  Support version 2.2.x to 2.4.x Linux kernels"
16         default y
17         depends on BUSYBOX_CONFIG_INSMOD
18         help
19           Support module loading for 2.2.x and 2.4.x Linux kernels.
20
21 config BUSYBOX_CONFIG_FEATURE_2_6_MODULES
22         bool "  Support version 2.6.x Linux kernels"
23         default y
24         depends on BUSYBOX_CONFIG_INSMOD
25         help
26           Support module loading for newer 2.6.x Linux kernels.
27
28 config BUSYBOX_CONFIG_FEATURE_INSMOD_VERSION_CHECKING
29         bool "  Module version checking"
30         default n
31         depends on BUSYBOX_CONFIG_INSMOD && BUSYBOX_CONFIG_FEATURE_2_4_MODULES
32         help
33           Support checking of versions for modules.  This is used to
34           ensure that the kernel and module are made for each other.
35
36 config BUSYBOX_CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS
37         bool "  Add module symbols to kernel symbol table"
38         default n
39         depends on BUSYBOX_CONFIG_INSMOD && BUSYBOX_CONFIG_FEATURE_2_4_MODULES
40         help
41           By adding module symbols to the kernel symbol table, Oops messages
42           occuring within kernel modules can be properly debugged.  By enabling
43           this feature, module symbols will always be added to the kernel symbol
44           table for properly debugging support.  If you are not interested in
45           Oops messages from kernel modules, say N.
46
47 config BUSYBOX_CONFIG_FEATURE_INSMOD_LOADINKMEM
48         bool "  In kernel memory optimization (uClinux only)"
49         default n
50         depends on BUSYBOX_CONFIG_INSMOD && BUSYBOX_CONFIG_FEATURE_2_4_MODULES
51         help
52           This is a special uClinux only memory optimization that lets insmod
53           load the specified kernel module directly into kernel space, reducing
54           memory usage by preventing the need for two copies of the module
55           being loaded into memory.
56
57 config BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP
58         bool "  Enable load map (-m) option"
59         default n
60         depends on BUSYBOX_CONFIG_INSMOD && BUSYBOX_CONFIG_FEATURE_2_4_MODULES
61         help
62           Enabling this, one would be able to get a load map
63           output on stdout. This makes kernel module debugging
64           easier.
65           If you don't plan to debug kernel modules, you
66           don't need this option.
67
68 config BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL
69         bool "  Symbols in load map"
70         default n
71         depends on BUSYBOX_CONFIG_FEATURE_INSMOD_LOAD_MAP
72         help
73           Without this option, -m will only output section
74           load map.  With this option, -m will also output
75           symbols load map.
76
77 config BUSYBOX_CONFIG_LSMOD
78         bool "lsmod"
79         default y
80         help
81           lsmod is used to display a list of loaded modules.
82
83 config BUSYBOX_CONFIG_FEATURE_QUERY_MODULE_INTERFACE
84         bool
85         default y
86         depends on BUSYBOX_CONFIG_FEATURE_2_4_MODULES && !CONFIG_FEATURE_2_6_MODULES
87
88 config BUSYBOX_CONFIG_MODPROBE
89         bool "modprobe"
90         default n
91         help
92           Handle the loading of modules, and their dependancies on a high
93           level.
94
95 config BUSYBOX_CONFIG_RMMOD
96         bool "rmmod"
97         default y
98         help
99           rmmod is used to unload specified modules from the kernel.
100
101 config BUSYBOX_CONFIG_FEATURE_CHECK_TAINTED_MODULE
102         bool "Support tainted module checking with new kernels"
103         default n
104         depends on BUSYBOX_CONFIG_INSMOD || BUSYBOX_CONFIG_LSMOD
105         help
106           Support checking for tainted modules.  These are usually binary
107           only modules that will make the linux-kernel list ignore your
108           support request.
109           This option is required to support GPLONLY modules.
110
111
112 endmenu
113