Replace "depends on PLATFORM_LINUX" with "select PLATFORM_LINUX"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -4,13 +4,13 @@
|
||||
#
|
||||
|
||||
menu "Linux Module Utilities"
|
||||
depends on PLATFORM_LINUX
|
||||
|
||||
INSERT
|
||||
|
||||
config MODPROBE_SMALL
|
||||
bool "Simplified modutils"
|
||||
default y
|
||||
select PLATFORM_LINUX
|
||||
help
|
||||
Simplified modutils.
|
||||
|
||||
@@ -45,6 +45,7 @@ config FEATURE_MODPROBE_SMALL_OPTIONS_ON_CMDLINE
|
||||
bool "Accept module options on modprobe command line"
|
||||
default y
|
||||
depends on MODPROBE_SMALL
|
||||
select PLATFORM_LINUX
|
||||
help
|
||||
Allow insmod and modprobe take module options from command line.
|
||||
|
||||
@@ -59,6 +60,7 @@ config INSMOD
|
||||
bool "insmod"
|
||||
default n
|
||||
depends on !MODPROBE_SMALL
|
||||
select PLATFORM_LINUX
|
||||
help
|
||||
insmod is used to load specified modules in the running kernel.
|
||||
|
||||
@@ -66,6 +68,7 @@ config RMMOD
|
||||
bool "rmmod"
|
||||
default n
|
||||
depends on !MODPROBE_SMALL
|
||||
select PLATFORM_LINUX
|
||||
help
|
||||
rmmod is used to unload specified modules from the kernel.
|
||||
|
||||
@@ -73,6 +76,7 @@ config LSMOD
|
||||
bool "lsmod"
|
||||
default n
|
||||
depends on !MODPROBE_SMALL
|
||||
select PLATFORM_LINUX
|
||||
help
|
||||
lsmod is used to display a list of loaded modules.
|
||||
|
||||
@@ -80,6 +84,7 @@ config FEATURE_LSMOD_PRETTY_2_6_OUTPUT
|
||||
bool "Pretty output"
|
||||
default n
|
||||
depends on LSMOD
|
||||
select PLATFORM_LINUX
|
||||
help
|
||||
This option makes output format of lsmod adjusted to
|
||||
the format of module-init-tools for Linux kernel 2.6.
|
||||
@@ -89,6 +94,7 @@ config MODPROBE
|
||||
bool "modprobe"
|
||||
default n
|
||||
depends on !MODPROBE_SMALL
|
||||
select PLATFORM_LINUX
|
||||
help
|
||||
Handle the loading of modules, and their dependencies on a high
|
||||
level.
|
||||
@@ -97,6 +103,7 @@ config FEATURE_MODPROBE_BLACKLIST
|
||||
bool "Blacklist support"
|
||||
default n
|
||||
depends on MODPROBE
|
||||
select PLATFORM_LINUX
|
||||
help
|
||||
Say 'y' here to enable support for the 'blacklist' command in
|
||||
modprobe.conf. This prevents the alias resolver to resolve
|
||||
@@ -108,6 +115,7 @@ config DEPMOD
|
||||
bool "depmod"
|
||||
default n
|
||||
depends on !MODPROBE_SMALL
|
||||
select PLATFORM_LINUX
|
||||
help
|
||||
depmod generates modules.dep (and potentially modules.alias
|
||||
and modules.symbols) that contain dependency information
|
||||
@@ -119,6 +127,7 @@ config FEATURE_2_4_MODULES
|
||||
bool "Support version 2.2/2.4 Linux kernels"
|
||||
default n
|
||||
depends on INSMOD || RMMOD || LSMOD
|
||||
select PLATFORM_LINUX
|
||||
help
|
||||
Support module loading for 2.2.x and 2.4.x Linux kernels.
|
||||
This increases size considerably. Say N unless you plan
|
||||
@@ -128,6 +137,7 @@ config FEATURE_INSMOD_TRY_MMAP
|
||||
bool "Try to load module from a mmap'ed area"
|
||||
default n
|
||||
depends on INSMOD || MODPROBE_SMALL
|
||||
select PLATFORM_LINUX
|
||||
help
|
||||
This option causes module loading code to try to mmap
|
||||
module first. If it does not work (for example,
|
||||
@@ -144,6 +154,7 @@ config FEATURE_INSMOD_VERSION_CHECKING
|
||||
bool "Enable module version checking"
|
||||
default n
|
||||
depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE)
|
||||
select PLATFORM_LINUX
|
||||
help
|
||||
Support checking of versions for modules. This is used to
|
||||
ensure that the kernel and module are made for each other.
|
||||
@@ -152,6 +163,7 @@ config FEATURE_INSMOD_KSYMOOPS_SYMBOLS
|
||||
bool "Add module symbols to kernel symbol table"
|
||||
default n
|
||||
depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE)
|
||||
select PLATFORM_LINUX
|
||||
help
|
||||
By adding module symbols to the kernel symbol table, Oops messages
|
||||
occuring within kernel modules can be properly debugged. By enabling
|
||||
@@ -163,6 +175,7 @@ config FEATURE_INSMOD_LOADINKMEM
|
||||
bool "In kernel memory optimization (uClinux only)"
|
||||
default n
|
||||
depends on FEATURE_2_4_MODULES && (INSMOD || MODPROBE)
|
||||
select PLATFORM_LINUX
|
||||
help
|
||||
This is a special uClinux only memory optimization that lets insmod
|
||||
load the specified kernel module directly into kernel space, reducing
|
||||
@@ -173,6 +186,7 @@ config FEATURE_INSMOD_LOAD_MAP
|
||||
bool "Enable insmod load map (-m) option"
|
||||
default n
|
||||
depends on FEATURE_2_4_MODULES && INSMOD
|
||||
select PLATFORM_LINUX
|
||||
help
|
||||
Enabling this, one would be able to get a load map
|
||||
output on stdout. This makes kernel module debugging
|
||||
@@ -184,6 +198,7 @@ config FEATURE_INSMOD_LOAD_MAP_FULL
|
||||
bool "Symbols in load map"
|
||||
default y
|
||||
depends on FEATURE_INSMOD_LOAD_MAP && !MODPROBE_SMALL
|
||||
select PLATFORM_LINUX
|
||||
help
|
||||
Without this option, -m will only output section
|
||||
load map. With this option, -m will also output
|
||||
@@ -193,6 +208,7 @@ config FEATURE_CHECK_TAINTED_MODULE
|
||||
bool "Support tainted module checking with new kernels"
|
||||
default y
|
||||
depends on (LSMOD || FEATURE_2_4_MODULES) && !MODPROBE_SMALL
|
||||
select PLATFORM_LINUX
|
||||
help
|
||||
Support checking for tainted modules. These are usually binary
|
||||
only modules that will make the linux-kernel list ignore your
|
||||
@@ -203,6 +219,7 @@ config FEATURE_MODUTILS_ALIAS
|
||||
bool "Support for module.aliases file"
|
||||
default y
|
||||
depends on DEPMOD || MODPROBE
|
||||
select PLATFORM_LINUX
|
||||
help
|
||||
Generate and parse modules.alias containing aliases for bus
|
||||
identifiers:
|
||||
@@ -219,6 +236,7 @@ config FEATURE_MODUTILS_SYMBOLS
|
||||
bool "Support for module.symbols file"
|
||||
default y
|
||||
depends on DEPMOD || MODPROBE
|
||||
select PLATFORM_LINUX
|
||||
help
|
||||
Generate and parse modules.symbols containing aliases for
|
||||
symbol_request() kernel calls, such as:
|
||||
|
Reference in New Issue
Block a user