diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-23 07:54:52 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-23 07:54:52 +0100 |
commit | e32b64c4ec9272295df6852fb2a2888d7799d2f0 (patch) | |
tree | fa64292eb0697f7963060ad6d41f1d76b4978dff /modutils/insmod.c | |
parent | 5467d268f09ddddd200ab14fd402831708be5dfd (diff) | |
download | busybox-w32-e32b64c4ec9272295df6852fb2a2888d7799d2f0.tar.gz busybox-w32-e32b64c4ec9272295df6852fb2a2888d7799d2f0.tar.bz2 busybox-w32-e32b64c4ec9272295df6852fb2a2888d7799d2f0.zip |
Convert all modutils/* applets to "new style" applet definitions
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
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 | ||