modprobe-small: make applets individually selectable
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@ -10,14 +10,15 @@
|
||||
//config:config RMMOD
|
||||
//config: bool "rmmod"
|
||||
//config: default n
|
||||
//config: depends on !MODPROBE_SMALL
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: rmmod is used to unload specified modules from the kernel.
|
||||
|
||||
//applet:IF_RMMOD(APPLET(rmmod, BB_DIR_SBIN, BB_SUID_DROP))
|
||||
//applet:IF_RMMOD(IF_NOT_MODPROBE_SMALL(APPLET(rmmod, BB_DIR_SBIN, BB_SUID_DROP)))
|
||||
|
||||
//kbuild:ifneq ($(CONFIG_MODPROBE_SMALL),y)
|
||||
//kbuild:lib-$(CONFIG_RMMOD) += rmmod.o modutils.o
|
||||
//kbuild:endif
|
||||
|
||||
//usage:#if !ENABLE_MODPROBE_SMALL
|
||||
//usage:#define rmmod_trivial_usage
|
||||
|
Reference in New Issue
Block a user