aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKang-Che Sung <explorer09@gmail.com>2017-02-01 01:43:32 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2017-02-01 01:43:32 +0100
commit264cb01540cdd995e7c376fd8bcef94e09e31819 (patch)
treee7316299dd1b93aed293c8209966f9bc3af201ea
parentfdfd716a858f6f63289b1156a80d06d7e86947de (diff)
downloadbusybox-w32-264cb01540cdd995e7c376fd8bcef94e09e31819.tar.gz
busybox-w32-264cb01540cdd995e7c376fd8bcef94e09e31819.tar.bz2
busybox-w32-264cb01540cdd995e7c376fd8bcef94e09e31819.zip
modutils: remove redundant "select PLATFORM_LINUX" configs
It is enough to have only applets' configs select PLATFORM_LINUX. Signed-off-by: Kang-Che Sung <explorer09@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--modutils/Config.src11
-rw-r--r--modutils/lsmod.c1
-rw-r--r--modutils/modprobe.c1
3 files changed, 0 insertions, 13 deletions
diff --git a/modutils/Config.src b/modutils/Config.src
index a9aa63993..f2448c914 100644
--- a/modutils/Config.src
+++ b/modutils/Config.src
@@ -8,7 +8,6 @@ menu "Linux Module Utilities"
8config MODPROBE_SMALL 8config MODPROBE_SMALL
9 bool "Simplified modutils" 9 bool "Simplified modutils"
10 default y 10 default y
11 select PLATFORM_LINUX
12 help 11 help
13 Build smaller (~1.5 kbytes), simplified module tools. 12 Build smaller (~1.5 kbytes), simplified module tools.
14 13
@@ -42,7 +41,6 @@ config FEATURE_2_4_MODULES
42 bool "Support version 2.2/2.4 Linux kernels" 41 bool "Support version 2.2/2.4 Linux kernels"
43 default n 42 default n
44 depends on (INSMOD || RMMOD || LSMOD) && !MODPROBE_SMALL 43 depends on (INSMOD || RMMOD || LSMOD) && !MODPROBE_SMALL
45 select PLATFORM_LINUX
46 help 44 help
47 Support module loading for 2.2.x and 2.4.x Linux kernels. 45 Support module loading for 2.2.x and 2.4.x Linux kernels.
48 This increases size considerably. Say N unless you plan 46 This increases size considerably. Say N unless you plan
@@ -52,7 +50,6 @@ config FEATURE_INSMOD_TRY_MMAP
52 bool "Try to load module from a mmap'ed area" 50 bool "Try to load module from a mmap'ed area"
53 default n 51 default n
54 depends on INSMOD && !MODPROBE_SMALL 52 depends on INSMOD && !MODPROBE_SMALL
55 select PLATFORM_LINUX
56 help 53 help
57 This option causes module loading code to try to mmap 54 This option causes module loading code to try to mmap
58 module first. If it does not work (for example, 55 module first. If it does not work (for example,
@@ -69,7 +66,6 @@ config FEATURE_INSMOD_VERSION_CHECKING
69 bool "Enable module version checking" 66 bool "Enable module version checking"
70 default n 67 default n
71 depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE) 68 depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE)
72 select PLATFORM_LINUX
73 help 69 help
74 Support checking of versions for modules. This is used to 70 Support checking of versions for modules. This is used to
75 ensure that the kernel and module are made for each other. 71 ensure that the kernel and module are made for each other.
@@ -78,7 +74,6 @@ config FEATURE_INSMOD_KSYMOOPS_SYMBOLS
78 bool "Add module symbols to kernel symbol table" 74 bool "Add module symbols to kernel symbol table"
79 default n 75 default n
80 depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE) 76 depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE)
81 select PLATFORM_LINUX
82 help 77 help
83 By adding module symbols to the kernel symbol table, Oops messages 78 By adding module symbols to the kernel symbol table, Oops messages
84 occuring within kernel modules can be properly debugged. By enabling 79 occuring within kernel modules can be properly debugged. By enabling
@@ -90,7 +85,6 @@ config FEATURE_INSMOD_LOADINKMEM
90 bool "In kernel memory optimization (uClinux only)" 85 bool "In kernel memory optimization (uClinux only)"
91 default n 86 default n
92 depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE) 87 depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE)
93 select PLATFORM_LINUX
94 help 88 help
95 This is a special uClinux only memory optimization that lets insmod 89 This is a special uClinux only memory optimization that lets insmod
96 load the specified kernel module directly into kernel space, reducing 90 load the specified kernel module directly into kernel space, reducing
@@ -101,7 +95,6 @@ config FEATURE_INSMOD_LOAD_MAP
101 bool "Enable insmod load map (-m) option" 95 bool "Enable insmod load map (-m) option"
102 default n 96 default n
103 depends on FEATURE_2_4_MODULES && INSMOD 97 depends on FEATURE_2_4_MODULES && INSMOD
104 select PLATFORM_LINUX
105 help 98 help
106 Enabling this, one would be able to get a load map 99 Enabling this, one would be able to get a load map
107 output on stdout. This makes kernel module debugging 100 output on stdout. This makes kernel module debugging
@@ -113,7 +106,6 @@ config FEATURE_INSMOD_LOAD_MAP_FULL
113 bool "Symbols in load map" 106 bool "Symbols in load map"
114 default y 107 default y
115 depends on FEATURE_INSMOD_LOAD_MAP && !MODPROBE_SMALL 108 depends on FEATURE_INSMOD_LOAD_MAP && !MODPROBE_SMALL
116 select PLATFORM_LINUX
117 help 109 help
118 Without this option, -m will only output section 110 Without this option, -m will only output section
119 load map. With this option, -m will also output 111 load map. With this option, -m will also output
@@ -123,7 +115,6 @@ config FEATURE_CHECK_TAINTED_MODULE
123 bool "Support tainted module checking with new kernels" 115 bool "Support tainted module checking with new kernels"
124 default y 116 default y
125 depends on (LSMOD || FEATURE_2_4_MODULES) && !MODPROBE_SMALL 117 depends on (LSMOD || FEATURE_2_4_MODULES) && !MODPROBE_SMALL
126 select PLATFORM_LINUX
127 help 118 help
128 Support checking for tainted modules. These are usually binary 119 Support checking for tainted modules. These are usually binary
129 only modules that will make the linux-kernel list ignore your 120 only modules that will make the linux-kernel list ignore your
@@ -134,7 +125,6 @@ config FEATURE_MODUTILS_ALIAS
134 bool "Support module.aliases file" 125 bool "Support module.aliases file"
135 default y 126 default y
136 depends on (DEPMOD || MODPROBE) && !MODPROBE_SMALL 127 depends on (DEPMOD || MODPROBE) && !MODPROBE_SMALL
137 select PLATFORM_LINUX
138 help 128 help
139 Generate and parse modules.alias containing aliases for bus 129 Generate and parse modules.alias containing aliases for bus
140 identifiers: 130 identifiers:
@@ -151,7 +141,6 @@ config FEATURE_MODUTILS_SYMBOLS
151 bool "Support module.symbols file" 141 bool "Support module.symbols file"
152 default y 142 default y
153 depends on (DEPMOD || MODPROBE) && !MODPROBE_SMALL 143 depends on (DEPMOD || MODPROBE) && !MODPROBE_SMALL
154 select PLATFORM_LINUX
155 help 144 help
156 Generate and parse modules.symbols containing aliases for 145 Generate and parse modules.symbols containing aliases for
157 symbol_request() kernel calls, such as: 146 symbol_request() kernel calls, such as:
diff --git a/modutils/lsmod.c b/modutils/lsmod.c
index 9ab49f35b..24e5d35b9 100644
--- a/modutils/lsmod.c
+++ b/modutils/lsmod.c
@@ -18,7 +18,6 @@
18//config: bool "Pretty output" 18//config: bool "Pretty output"
19//config: default y 19//config: default y
20//config: depends on LSMOD && !MODPROBE_SMALL 20//config: depends on LSMOD && !MODPROBE_SMALL
21//config: select PLATFORM_LINUX
22//config: help 21//config: help
23//config: This option makes output format of lsmod adjusted to 22//config: This option makes output format of lsmod adjusted to
24//config: the format of module-init-tools for Linux kernel 2.6. 23//config: the format of module-init-tools for Linux kernel 2.6.
diff --git a/modutils/modprobe.c b/modutils/modprobe.c
index 09e3de6c3..cbec43888 100644
--- a/modutils/modprobe.c
+++ b/modutils/modprobe.c
@@ -19,7 +19,6 @@
19//config: bool "Blacklist support" 19//config: bool "Blacklist support"
20//config: default y 20//config: default y
21//config: depends on MODPROBE && !MODPROBE_SMALL 21//config: depends on MODPROBE && !MODPROBE_SMALL
22//config: select PLATFORM_LINUX
23//config: help 22//config: help
24//config: Say 'y' here to enable support for the 'blacklist' command in 23//config: Say 'y' here to enable support for the 'blacklist' command in
25//config: modprobe.conf. This prevents the alias resolver to resolve 24//config: modprobe.conf. This prevents the alias resolver to resolve