From b1d6a2c6247bae0b9f1903ba0e0d16c56f4ef556 Mon Sep 17 00:00:00 2001 From: Kang-Che Sung Date: Tue, 31 Jan 2017 21:09:17 +0800 Subject: 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 Signed-off-by: Denys Vlasenko --- modutils/Config.src | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'modutils/Config.src') 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 comment "Options common to multiple modutils" +config FEATURE_CMDLINE_MODULE_OPTIONS + bool "Accept module options on modprobe command line" + default y + depends on INSMOD || MODPROBE + help + Allow insmod and modprobe take module options from the applets' + command line. + config FEATURE_2_4_MODULES bool "Support version 2.2/2.4 Linux kernels" default n -- cgit v1.2.3