aboutsummaryrefslogtreecommitdiff
path: root/modutils/modprobe-small.c
diff options
context:
space:
mode:
authorKang-Che Sung <explorer09@gmail.com>2017-02-01 19:43:54 +0800
committerDenys Vlasenko <vda.linux@googlemail.com>2017-02-05 19:11:01 +0100
commit415cc42b6aab3a3a90749354432e7d780840b1d8 (patch)
tree195da414b0b63d15e2c73e04c5b45beced08a794 /modutils/modprobe-small.c
parent4ae658f077c9b8859e8f1aabee4b95c2c96dae1c (diff)
downloadbusybox-415cc42b6aab3a3a90749354432e7d780840b1d8.tar.gz
Reorder modutils config options & fix yet more dependency
- modprobe can indirectly benefit from FEATURE_2_4_MODULES and FEATURE_INSMOD_TRY_MAP options. - The position of config FEATURE_INSMOD_TRY_MMAP prevented some other config options from indenting under FEATURE_2_4_MODULES. Reorder to fix this. - FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED is now moved to Config.src under "Common options" section. (I wished to edit this config so that it also work with "big" modutils, but it's not done at the moment. Sorry.) Signed-off-by: Kang-Che Sung <explorer09@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'modutils/modprobe-small.c')
-rw-r--r--modutils/modprobe-small.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/modutils/modprobe-small.c b/modutils/modprobe-small.c
index 726a3108c..d6f481415 100644
--- a/modutils/modprobe-small.c
+++ b/modutils/modprobe-small.c
@@ -8,14 +8,8 @@
* Licensed under GPLv2, see file LICENSE in this source tree.
*/
-/* config MODPROBE_SMALL is defined in Config.src to ensure better "make config" order */
-
-//config:config FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED
-//config: bool "Skip loading of already loaded modules"
-//config: default y
-//config: depends on MODPROBE_SMALL && (DEPMOD || INSMOD || MODPROBE)
-//config: help
-//config: Check if the module is already loaded.
+/* modprobe-small configs are defined in Config.src to ensure better
+ * "make config" order */
//applet:IF_LSMOD( IF_MODPROBE_SMALL(APPLET(lsmod, BB_DIR_SBIN, BB_SUID_DROP)))
//applet:IF_MODPROBE(IF_MODPROBE_SMALL(APPLET(modprobe, BB_DIR_SBIN, BB_SUID_DROP)))