diff options
Diffstat (limited to 'modutils/insmod.c')
-rw-r--r-- | modutils/insmod.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c index 9c3c992a5..2ebf4beb9 100644 --- a/modutils/insmod.c +++ b/modutils/insmod.c | |||
@@ -6,9 +6,18 @@ | |||
6 | * | 6 | * |
7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | //config:config INSMOD | ||
10 | //config: bool "insmod" | ||
11 | //config: default n | ||
12 | //config: depends on !MODPROBE_SMALL | ||
13 | //config: select PLATFORM_LINUX | ||
14 | //config: help | ||
15 | //config: insmod is used to load specified modules in the running kernel. | ||
9 | 16 | ||
10 | //applet:IF_INSMOD(APPLET(insmod, BB_DIR_SBIN, BB_SUID_DROP)) | 17 | //applet:IF_INSMOD(APPLET(insmod, BB_DIR_SBIN, BB_SUID_DROP)) |
11 | 18 | ||
19 | //kbuild:lib-$(CONFIG_INSMOD) += insmod.o modutils.o | ||
20 | |||
12 | #include "libbb.h" | 21 | #include "libbb.h" |
13 | #include "modutils.h" | 22 | #include "modutils.h" |
14 | 23 | ||