modprobe-small: make applets individually selectable
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@ -9,25 +9,26 @@
|
||||
*/
|
||||
//config:config LSMOD
|
||||
//config: bool "lsmod"
|
||||
//config: default n
|
||||
//config: depends on !MODPROBE_SMALL
|
||||
//config: default y
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: lsmod is used to display a list of loaded modules.
|
||||
//config:
|
||||
//config:config FEATURE_LSMOD_PRETTY_2_6_OUTPUT
|
||||
//config: bool "Pretty output"
|
||||
//config: default n
|
||||
//config: depends on LSMOD
|
||||
//config: default y
|
||||
//config: depends on LSMOD && !MODPROBE_SMALL
|
||||
//config: select PLATFORM_LINUX
|
||||
//config: help
|
||||
//config: This option makes output format of lsmod adjusted to
|
||||
//config: the format of module-init-tools for Linux kernel 2.6.
|
||||
//config: Increases size somewhat.
|
||||
|
||||
//applet:IF_LSMOD(APPLET(lsmod, BB_DIR_SBIN, BB_SUID_DROP))
|
||||
//applet:IF_LSMOD(IF_NOT_MODPROBE_SMALL(APPLET(lsmod, BB_DIR_SBIN, BB_SUID_DROP)))
|
||||
|
||||
//kbuild:ifneq ($(CONFIG_MODPROBE_SMALL),y)
|
||||
//kbuild:lib-$(CONFIG_LSMOD) += lsmod.o modutils.o
|
||||
//kbuild:endif
|
||||
|
||||
//usage:#if !ENABLE_MODPROBE_SMALL
|
||||
//usage:#define lsmod_trivial_usage
|
||||
|
Reference in New Issue
Block a user