diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-12-23 15:12:27 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-12-23 15:13:16 +0100 |
commit | a1cd0d9849946e0627484ec6b6435837c853a113 (patch) | |
tree | 23c7c643bd0af2859beff3876bdbaa20953bdb5f /modutils/insmod.c | |
parent | ce3a98a222a2191ef4a22e90c49a51dfa7279e07 (diff) | |
download | busybox-w32-a1cd0d9849946e0627484ec6b6435837c853a113.tar.gz busybox-w32-a1cd0d9849946e0627484ec6b6435837c853a113.tar.bz2 busybox-w32-a1cd0d9849946e0627484ec6b6435837c853a113.zip |
modprobe-small: make applets individually selectable
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'modutils/insmod.c')
-rw-r--r-- | modutils/insmod.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c index 2ebf4beb9..5949fe551 100644 --- a/modutils/insmod.c +++ b/modutils/insmod.c | |||
@@ -9,14 +9,15 @@ | |||
9 | //config:config INSMOD | 9 | //config:config INSMOD |
10 | //config: bool "insmod" | 10 | //config: bool "insmod" |
11 | //config: default n | 11 | //config: default n |
12 | //config: depends on !MODPROBE_SMALL | ||
13 | //config: select PLATFORM_LINUX | 12 | //config: select PLATFORM_LINUX |
14 | //config: help | 13 | //config: help |
15 | //config: insmod is used to load specified modules in the running kernel. | 14 | //config: insmod is used to load specified modules in the running kernel. |
16 | 15 | ||
17 | //applet:IF_INSMOD(APPLET(insmod, BB_DIR_SBIN, BB_SUID_DROP)) | 16 | //applet:IF_INSMOD(IF_NOT_MODPROBE_SMALL(APPLET(insmod, BB_DIR_SBIN, BB_SUID_DROP))) |
18 | 17 | ||
18 | //kbuild:ifneq ($(CONFIG_MODPROBE_SMALL),y) | ||
19 | //kbuild:lib-$(CONFIG_INSMOD) += insmod.o modutils.o | 19 | //kbuild:lib-$(CONFIG_INSMOD) += insmod.o modutils.o |
20 | //kbuild:endif | ||
20 | 21 | ||
21 | #include "libbb.h" | 22 | #include "libbb.h" |
22 | #include "modutils.h" | 23 | #include "modutils.h" |