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>
This commit is contained in:
Kang-Che Sung 2017-02-01 01:43:32 +01:00 committed by Denys Vlasenko
parent fdfd716a85
commit 264cb01540
3 changed files with 0 additions and 13 deletions

View File

@ -8,7 +8,6 @@ menu "Linux Module Utilities"
config MODPROBE_SMALL config MODPROBE_SMALL
bool "Simplified modutils" bool "Simplified modutils"
default y default y
select PLATFORM_LINUX
help help
Build smaller (~1.5 kbytes), simplified module tools. Build smaller (~1.5 kbytes), simplified module tools.
@ -42,7 +41,6 @@ config FEATURE_2_4_MODULES
bool "Support version 2.2/2.4 Linux kernels" bool "Support version 2.2/2.4 Linux kernels"
default n default n
depends on (INSMOD || RMMOD || LSMOD) && !MODPROBE_SMALL depends on (INSMOD || RMMOD || LSMOD) && !MODPROBE_SMALL
select PLATFORM_LINUX
help help
Support module loading for 2.2.x and 2.4.x Linux kernels. Support module loading for 2.2.x and 2.4.x Linux kernels.
This increases size considerably. Say N unless you plan This increases size considerably. Say N unless you plan
@ -52,7 +50,6 @@ config FEATURE_INSMOD_TRY_MMAP
bool "Try to load module from a mmap'ed area" bool "Try to load module from a mmap'ed area"
default n default n
depends on INSMOD && !MODPROBE_SMALL depends on INSMOD && !MODPROBE_SMALL
select PLATFORM_LINUX
help help
This option causes module loading code to try to mmap This option causes module loading code to try to mmap
module first. If it does not work (for example, module first. If it does not work (for example,
@ -69,7 +66,6 @@ config FEATURE_INSMOD_VERSION_CHECKING
bool "Enable module version checking" bool "Enable module version checking"
default n default n
depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE) depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE)
select PLATFORM_LINUX
help help
Support checking of versions for modules. This is used to Support checking of versions for modules. This is used to
ensure that the kernel and module are made for each other. ensure that the kernel and module are made for each other.
@ -78,7 +74,6 @@ config FEATURE_INSMOD_KSYMOOPS_SYMBOLS
bool "Add module symbols to kernel symbol table" bool "Add module symbols to kernel symbol table"
default n default n
depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE) depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE)
select PLATFORM_LINUX
help help
By adding module symbols to the kernel symbol table, Oops messages By adding module symbols to the kernel symbol table, Oops messages
occuring within kernel modules can be properly debugged. By enabling occuring within kernel modules can be properly debugged. By enabling
@ -90,7 +85,6 @@ config FEATURE_INSMOD_LOADINKMEM
bool "In kernel memory optimization (uClinux only)" bool "In kernel memory optimization (uClinux only)"
default n default n
depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE) depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE)
select PLATFORM_LINUX
help help
This is a special uClinux only memory optimization that lets insmod This is a special uClinux only memory optimization that lets insmod
load the specified kernel module directly into kernel space, reducing load the specified kernel module directly into kernel space, reducing
@ -101,7 +95,6 @@ config FEATURE_INSMOD_LOAD_MAP
bool "Enable insmod load map (-m) option" bool "Enable insmod load map (-m) option"
default n default n
depends on FEATURE_2_4_MODULES && INSMOD depends on FEATURE_2_4_MODULES && INSMOD
select PLATFORM_LINUX
help help
Enabling this, one would be able to get a load map Enabling this, one would be able to get a load map
output on stdout. This makes kernel module debugging output on stdout. This makes kernel module debugging
@ -113,7 +106,6 @@ config FEATURE_INSMOD_LOAD_MAP_FULL
bool "Symbols in load map" bool "Symbols in load map"
default y default y
depends on FEATURE_INSMOD_LOAD_MAP && !MODPROBE_SMALL depends on FEATURE_INSMOD_LOAD_MAP && !MODPROBE_SMALL
select PLATFORM_LINUX
help help
Without this option, -m will only output section Without this option, -m will only output section
load map. With this option, -m will also output load map. With this option, -m will also output
@ -123,7 +115,6 @@ config FEATURE_CHECK_TAINTED_MODULE
bool "Support tainted module checking with new kernels" bool "Support tainted module checking with new kernels"
default y default y
depends on (LSMOD || FEATURE_2_4_MODULES) && !MODPROBE_SMALL depends on (LSMOD || FEATURE_2_4_MODULES) && !MODPROBE_SMALL
select PLATFORM_LINUX
help help
Support checking for tainted modules. These are usually binary Support checking for tainted modules. These are usually binary
only modules that will make the linux-kernel list ignore your only modules that will make the linux-kernel list ignore your
@ -134,7 +125,6 @@ config FEATURE_MODUTILS_ALIAS
bool "Support module.aliases file" bool "Support module.aliases file"
default y default y
depends on (DEPMOD || MODPROBE) && !MODPROBE_SMALL depends on (DEPMOD || MODPROBE) && !MODPROBE_SMALL
select PLATFORM_LINUX
help help
Generate and parse modules.alias containing aliases for bus Generate and parse modules.alias containing aliases for bus
identifiers: identifiers:
@ -151,7 +141,6 @@ config FEATURE_MODUTILS_SYMBOLS
bool "Support module.symbols file" bool "Support module.symbols file"
default y default y
depends on (DEPMOD || MODPROBE) && !MODPROBE_SMALL depends on (DEPMOD || MODPROBE) && !MODPROBE_SMALL
select PLATFORM_LINUX
help help
Generate and parse modules.symbols containing aliases for Generate and parse modules.symbols containing aliases for
symbol_request() kernel calls, such as: symbol_request() kernel calls, such as:

View File

@ -18,7 +18,6 @@
//config: bool "Pretty output" //config: bool "Pretty output"
//config: default y //config: default y
//config: depends on LSMOD && !MODPROBE_SMALL //config: depends on LSMOD && !MODPROBE_SMALL
//config: select PLATFORM_LINUX
//config: help //config: help
//config: This option makes output format of lsmod adjusted to //config: This option makes output format of lsmod adjusted to
//config: the format of module-init-tools for Linux kernel 2.6. //config: the format of module-init-tools for Linux kernel 2.6.

View File

@ -19,7 +19,6 @@
//config: bool "Blacklist support" //config: bool "Blacklist support"
//config: default y //config: default y
//config: depends on MODPROBE && !MODPROBE_SMALL //config: depends on MODPROBE && !MODPROBE_SMALL
//config: select PLATFORM_LINUX
//config: help //config: help
//config: Say 'y' here to enable support for the 'blacklist' command in //config: Say 'y' here to enable support for the 'blacklist' command in
//config: modprobe.conf. This prevents the alias resolver to resolve //config: modprobe.conf. This prevents the alias resolver to resolve