diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-02-26 22:24:08 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-02-26 22:24:08 +0100 |
commit | e3b1a1fd28558f7a1b3c0ec33313bedb675be8a1 (patch) | |
tree | 0fb387c2e7d45dc541d9a42f9f0eba4352353aa5 /modutils/Config.src | |
parent | da4441c44f6efccb6f7b7588404d9c6bfb7b6af8 (diff) | |
download | busybox-w32-e3b1a1fd28558f7a1b3c0ec33313bedb675be8a1.tar.gz busybox-w32-e3b1a1fd28558f7a1b3c0ec33313bedb675be8a1.tar.bz2 busybox-w32-e3b1a1fd28558f7a1b3c0ec33313bedb675be8a1.zip |
Replace "depends on PLATFORM_LINUX" with "select PLATFORM_LINUX"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'modutils/Config.src')
-rw-r--r-- | modutils/Config.src | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/modutils/Config.src b/modutils/Config.src index 4191d29f2..449ac65af 100644 --- a/modutils/Config.src +++ b/modutils/Config.src | |||
@@ -4,13 +4,13 @@ | |||
4 | # | 4 | # |
5 | 5 | ||
6 | menu "Linux Module Utilities" | 6 | menu "Linux Module Utilities" |
7 | depends on PLATFORM_LINUX | ||
8 | 7 | ||
9 | INSERT | 8 | INSERT |
10 | 9 | ||
11 | config MODPROBE_SMALL | 10 | config MODPROBE_SMALL |
12 | bool "Simplified modutils" | 11 | bool "Simplified modutils" |
13 | default y | 12 | default y |
13 | select PLATFORM_LINUX | ||
14 | help | 14 | help |
15 | Simplified modutils. | 15 | Simplified modutils. |
16 | 16 | ||
@@ -45,6 +45,7 @@ config FEATURE_MODPROBE_SMALL_OPTIONS_ON_CMDLINE | |||
45 | bool "Accept module options on modprobe command line" | 45 | bool "Accept module options on modprobe command line" |
46 | default y | 46 | default y |
47 | depends on MODPROBE_SMALL | 47 | depends on MODPROBE_SMALL |
48 | select PLATFORM_LINUX | ||
48 | help | 49 | help |
49 | Allow insmod and modprobe take module options from command line. | 50 | Allow insmod and modprobe take module options from command line. |
50 | 51 | ||
@@ -59,6 +60,7 @@ config INSMOD | |||
59 | bool "insmod" | 60 | bool "insmod" |
60 | default n | 61 | default n |
61 | depends on !MODPROBE_SMALL | 62 | depends on !MODPROBE_SMALL |
63 | select PLATFORM_LINUX | ||
62 | help | 64 | help |
63 | insmod is used to load specified modules in the running kernel. | 65 | insmod is used to load specified modules in the running kernel. |
64 | 66 | ||
@@ -66,6 +68,7 @@ config RMMOD | |||
66 | bool "rmmod" | 68 | bool "rmmod" |
67 | default n | 69 | default n |
68 | depends on !MODPROBE_SMALL | 70 | depends on !MODPROBE_SMALL |
71 | select PLATFORM_LINUX | ||
69 | help | 72 | help |
70 | rmmod is used to unload specified modules from the kernel. | 73 | rmmod is used to unload specified modules from the kernel. |
71 | 74 | ||
@@ -73,6 +76,7 @@ config LSMOD | |||
73 | bool "lsmod" | 76 | bool "lsmod" |
74 | default n | 77 | default n |
75 | depends on !MODPROBE_SMALL | 78 | depends on !MODPROBE_SMALL |
79 | select PLATFORM_LINUX | ||
76 | help | 80 | help |
77 | lsmod is used to display a list of loaded modules. | 81 | lsmod is used to display a list of loaded modules. |
78 | 82 | ||
@@ -80,6 +84,7 @@ config FEATURE_LSMOD_PRETTY_2_6_OUTPUT | |||
80 | bool "Pretty output" | 84 | bool "Pretty output" |
81 | default n | 85 | default n |
82 | depends on LSMOD | 86 | depends on LSMOD |
87 | select PLATFORM_LINUX | ||
83 | help | 88 | help |
84 | This option makes output format of lsmod adjusted to | 89 | This option makes output format of lsmod adjusted to |
85 | the format of module-init-tools for Linux kernel 2.6. | 90 | the format of module-init-tools for Linux kernel 2.6. |
@@ -89,6 +94,7 @@ config MODPROBE | |||
89 | bool "modprobe" | 94 | bool "modprobe" |
90 | default n | 95 | default n |
91 | depends on !MODPROBE_SMALL | 96 | depends on !MODPROBE_SMALL |
97 | select PLATFORM_LINUX | ||
92 | help | 98 | help |
93 | Handle the loading of modules, and their dependencies on a high | 99 | Handle the loading of modules, and their dependencies on a high |
94 | level. | 100 | level. |
@@ -97,6 +103,7 @@ config FEATURE_MODPROBE_BLACKLIST | |||
97 | bool "Blacklist support" | 103 | bool "Blacklist support" |
98 | default n | 104 | default n |
99 | depends on MODPROBE | 105 | depends on MODPROBE |
106 | select PLATFORM_LINUX | ||
100 | help | 107 | help |
101 | Say 'y' here to enable support for the 'blacklist' command in | 108 | Say 'y' here to enable support for the 'blacklist' command in |
102 | modprobe.conf. This prevents the alias resolver to resolve | 109 | modprobe.conf. This prevents the alias resolver to resolve |
@@ -108,6 +115,7 @@ config DEPMOD | |||
108 | bool "depmod" | 115 | bool "depmod" |
109 | default n | 116 | default n |
110 | depends on !MODPROBE_SMALL | 117 | depends on !MODPROBE_SMALL |
118 | select PLATFORM_LINUX | ||
111 | help | 119 | help |
112 | depmod generates modules.dep (and potentially modules.alias | 120 | depmod generates modules.dep (and potentially modules.alias |
113 | and modules.symbols) that contain dependency information | 121 | and modules.symbols) that contain dependency information |
@@ -119,6 +127,7 @@ config FEATURE_2_4_MODULES | |||
119 | bool "Support version 2.2/2.4 Linux kernels" | 127 | bool "Support version 2.2/2.4 Linux kernels" |
120 | default n | 128 | default n |
121 | depends on INSMOD || RMMOD || LSMOD | 129 | depends on INSMOD || RMMOD || LSMOD |
130 | select PLATFORM_LINUX | ||
122 | help | 131 | help |
123 | Support module loading for 2.2.x and 2.4.x Linux kernels. | 132 | Support module loading for 2.2.x and 2.4.x Linux kernels. |
124 | This increases size considerably. Say N unless you plan | 133 | This increases size considerably. Say N unless you plan |
@@ -128,6 +137,7 @@ config FEATURE_INSMOD_TRY_MMAP | |||
128 | bool "Try to load module from a mmap'ed area" | 137 | bool "Try to load module from a mmap'ed area" |
129 | default n | 138 | default n |
130 | depends on INSMOD || MODPROBE_SMALL | 139 | depends on INSMOD || MODPROBE_SMALL |
140 | select PLATFORM_LINUX | ||
131 | help | 141 | help |
132 | This option causes module loading code to try to mmap | 142 | This option causes module loading code to try to mmap |
133 | module first. If it does not work (for example, | 143 | module first. If it does not work (for example, |
@@ -144,6 +154,7 @@ config FEATURE_INSMOD_VERSION_CHECKING | |||
144 | bool "Enable module version checking" | 154 | bool "Enable module version checking" |
145 | default n | 155 | default n |
146 | depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE) | 156 | depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE) |
157 | select PLATFORM_LINUX | ||
147 | help | 158 | help |
148 | Support checking of versions for modules. This is used to | 159 | Support checking of versions for modules. This is used to |
149 | ensure that the kernel and module are made for each other. | 160 | ensure that the kernel and module are made for each other. |
@@ -152,6 +163,7 @@ config FEATURE_INSMOD_KSYMOOPS_SYMBOLS | |||
152 | bool "Add module symbols to kernel symbol table" | 163 | bool "Add module symbols to kernel symbol table" |
153 | default n | 164 | default n |
154 | depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE) | 165 | depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE) |
166 | select PLATFORM_LINUX | ||
155 | help | 167 | help |
156 | By adding module symbols to the kernel symbol table, Oops messages | 168 | By adding module symbols to the kernel symbol table, Oops messages |
157 | occuring within kernel modules can be properly debugged. By enabling | 169 | occuring within kernel modules can be properly debugged. By enabling |
@@ -163,6 +175,7 @@ config FEATURE_INSMOD_LOADINKMEM | |||
163 | bool "In kernel memory optimization (uClinux only)" | 175 | bool "In kernel memory optimization (uClinux only)" |
164 | default n | 176 | default n |
165 | depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE) | 177 | depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE) |
178 | select PLATFORM_LINUX | ||
166 | help | 179 | help |
167 | This is a special uClinux only memory optimization that lets insmod | 180 | This is a special uClinux only memory optimization that lets insmod |
168 | load the specified kernel module directly into kernel space, reducing | 181 | load the specified kernel module directly into kernel space, reducing |
@@ -173,6 +186,7 @@ config FEATURE_INSMOD_LOAD_MAP | |||
173 | bool "Enable insmod load map (-m) option" | 186 | bool "Enable insmod load map (-m) option" |
174 | default n | 187 | default n |
175 | depends on FEATURE_2_4_MODULES && INSMOD | 188 | depends on FEATURE_2_4_MODULES && INSMOD |
189 | select PLATFORM_LINUX | ||
176 | help | 190 | help |
177 | Enabling this, one would be able to get a load map | 191 | Enabling this, one would be able to get a load map |
178 | output on stdout. This makes kernel module debugging | 192 | output on stdout. This makes kernel module debugging |
@@ -184,6 +198,7 @@ config FEATURE_INSMOD_LOAD_MAP_FULL | |||
184 | bool "Symbols in load map" | 198 | bool "Symbols in load map" |
185 | default y | 199 | default y |
186 | depends on FEATURE_INSMOD_LOAD_MAP && !MODPROBE_SMALL | 200 | depends on FEATURE_INSMOD_LOAD_MAP && !MODPROBE_SMALL |
201 | select PLATFORM_LINUX | ||
187 | help | 202 | help |
188 | Without this option, -m will only output section | 203 | Without this option, -m will only output section |
189 | load map. With this option, -m will also output | 204 | load map. With this option, -m will also output |
@@ -193,6 +208,7 @@ config FEATURE_CHECK_TAINTED_MODULE | |||
193 | bool "Support tainted module checking with new kernels" | 208 | bool "Support tainted module checking with new kernels" |
194 | default y | 209 | default y |
195 | depends on (LSMOD || FEATURE_2_4_MODULES) && !MODPROBE_SMALL | 210 | depends on (LSMOD || FEATURE_2_4_MODULES) && !MODPROBE_SMALL |
211 | select PLATFORM_LINUX | ||
196 | help | 212 | help |
197 | Support checking for tainted modules. These are usually binary | 213 | Support checking for tainted modules. These are usually binary |
198 | only modules that will make the linux-kernel list ignore your | 214 | only modules that will make the linux-kernel list ignore your |
@@ -203,6 +219,7 @@ config FEATURE_MODUTILS_ALIAS | |||
203 | bool "Support for module.aliases file" | 219 | bool "Support for module.aliases file" |
204 | default y | 220 | default y |
205 | depends on DEPMOD || MODPROBE | 221 | depends on DEPMOD || MODPROBE |
222 | select PLATFORM_LINUX | ||
206 | help | 223 | help |
207 | Generate and parse modules.alias containing aliases for bus | 224 | Generate and parse modules.alias containing aliases for bus |
208 | identifiers: | 225 | identifiers: |
@@ -219,6 +236,7 @@ config FEATURE_MODUTILS_SYMBOLS | |||
219 | bool "Support for module.symbols file" | 236 | bool "Support for module.symbols file" |
220 | default y | 237 | default y |
221 | depends on DEPMOD || MODPROBE | 238 | depends on DEPMOD || MODPROBE |
239 | select PLATFORM_LINUX | ||
222 | help | 240 | help |
223 | Generate and parse modules.symbols containing aliases for | 241 | Generate and parse modules.symbols containing aliases for |
224 | symbol_request() kernel calls, such as: | 242 | symbol_request() kernel calls, such as: |