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/rmmod.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/rmmod.c')
-rw-r--r-- | modutils/rmmod.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modutils/rmmod.c b/modutils/rmmod.c index e0358838a..4c4d50885 100644 --- a/modutils/rmmod.c +++ b/modutils/rmmod.c | |||
@@ -10,14 +10,15 @@ | |||
10 | //config:config RMMOD | 10 | //config:config RMMOD |
11 | //config: bool "rmmod" | 11 | //config: bool "rmmod" |
12 | //config: default n | 12 | //config: default n |
13 | //config: depends on !MODPROBE_SMALL | ||
14 | //config: select PLATFORM_LINUX | 13 | //config: select PLATFORM_LINUX |
15 | //config: help | 14 | //config: help |
16 | //config: rmmod is used to unload specified modules from the kernel. | 15 | //config: rmmod is used to unload specified modules from the kernel. |
17 | 16 | ||
18 | //applet:IF_RMMOD(APPLET(rmmod, BB_DIR_SBIN, BB_SUID_DROP)) | 17 | //applet:IF_RMMOD(IF_NOT_MODPROBE_SMALL(APPLET(rmmod, BB_DIR_SBIN, BB_SUID_DROP))) |
19 | 18 | ||
19 | //kbuild:ifneq ($(CONFIG_MODPROBE_SMALL),y) | ||
20 | //kbuild:lib-$(CONFIG_RMMOD) += rmmod.o modutils.o | 20 | //kbuild:lib-$(CONFIG_RMMOD) += rmmod.o modutils.o |
21 | //kbuild:endif | ||
21 | 22 | ||
22 | //usage:#if !ENABLE_MODPROBE_SMALL | 23 | //usage:#if !ENABLE_MODPROBE_SMALL |
23 | //usage:#define rmmod_trivial_usage | 24 | //usage:#define rmmod_trivial_usage |