diff options
author | Kang-Che Sung <explorer09@gmail.com> | 2017-01-31 21:09:17 +0800 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-02-01 10:14:05 +0100 |
commit | b1d6a2c6247bae0b9f1903ba0e0d16c56f4ef556 (patch) | |
tree | afc10aba770e711341483ef13b95ab3ac4916f9b /modutils/Config.src | |
parent | 264cb01540cdd995e7c376fd8bcef94e09e31819 (diff) | |
download | busybox-w32-b1d6a2c6247bae0b9f1903ba0e0d16c56f4ef556.tar.gz busybox-w32-b1d6a2c6247bae0b9f1903ba0e0d16c56f4ef556.tar.bz2 busybox-w32-b1d6a2c6247bae0b9f1903ba0e0d16c56f4ef556.zip |
cmdline module options can be disabled on "big" modutils
Allow module options on command line to be disabled on "big" modutils.
Config FEATURE_MODPROBE_SMALL_OPTIONS_ON_CMDLINE is renamed to
FEATURE_CMDLINE_MODULE_OPTIONS and no longer depends on !MODPROBE_SMALL
(I'm not sure if disabling this is useful on "big" modutils, but at
least the macro can serve as a marker and ensure both implementations
of same feature have consistent behavior.)
Signed-off-by: Kang-Che Sung <explorer09@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'modutils/Config.src')
-rw-r--r-- | modutils/Config.src | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/modutils/Config.src b/modutils/Config.src index f2448c914..a15cce518 100644 --- a/modutils/Config.src +++ b/modutils/Config.src | |||
@@ -37,6 +37,14 @@ INSERT | |||
37 | 37 | ||
38 | comment "Options common to multiple modutils" | 38 | comment "Options common to multiple modutils" |
39 | 39 | ||
40 | config FEATURE_CMDLINE_MODULE_OPTIONS | ||
41 | bool "Accept module options on modprobe command line" | ||
42 | default y | ||
43 | depends on INSMOD || MODPROBE | ||
44 | help | ||
45 | Allow insmod and modprobe take module options from the applets' | ||
46 | command line. | ||
47 | |||
40 | config FEATURE_2_4_MODULES | 48 | config FEATURE_2_4_MODULES |
41 | bool "Support version 2.2/2.4 Linux kernels" | 49 | bool "Support version 2.2/2.4 Linux kernels" |
42 | default n | 50 | default n |