aboutsummaryrefslogtreecommitdiff
path: root/modutils/depmod.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-12-23 15:12:27 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2016-12-23 15:13:16 +0100
commita1cd0d9849946e0627484ec6b6435837c853a113 (patch)
tree23c7c643bd0af2859beff3876bdbaa20953bdb5f /modutils/depmod.c
parentce3a98a222a2191ef4a22e90c49a51dfa7279e07 (diff)
downloadbusybox-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/depmod.c')
-rw-r--r--modutils/depmod.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/modutils/depmod.c b/modutils/depmod.c
index b9347027e..cfa9abb1a 100644
--- a/modutils/depmod.c
+++ b/modutils/depmod.c
@@ -9,15 +9,16 @@
9 */ 9 */
10//config:config DEPMOD 10//config:config DEPMOD
11//config: bool "depmod" 11//config: bool "depmod"
12//config: default n 12//config: default y
13//config: depends on !MODPROBE_SMALL
14//config: select PLATFORM_LINUX 13//config: select PLATFORM_LINUX
15//config: help 14//config: help
16//config: depmod generates modules.dep (and potentially modules.alias 15//config: depmod generates modules.dep (and potentially modules.alias
17//config: and modules.symbols) that contain dependency information 16//config: and modules.symbols) that contain dependency information
18//config: for modprobe. 17//config: for modprobe.
19 18
20//applet:IF_DEPMOD(APPLET(depmod, BB_DIR_SBIN, BB_SUID_DROP)) 19//kbuild:ifneq ($(CONFIG_MODPROBE_SMALL),y)
20//applet:IF_DEPMOD(IF_NOT_MODPROBE_SMALL(APPLET(depmod, BB_DIR_SBIN, BB_SUID_DROP)))
21//kbuild:endif
21 22
22//kbuild:lib-$(CONFIG_DEPMOD) += depmod.o modutils.o 23//kbuild:lib-$(CONFIG_DEPMOD) += depmod.o modutils.o
23 24