summaryrefslogtreecommitdiff
path: root/modutils/depmod.c
diff options
context:
space:
mode:
authorDenys Vlasenko2016-12-23 15:12:27 +0100
committerDenys Vlasenko2017-01-01 13:01:04 +0100
commitd28cd9900a58a902b1bf53404a250dfb345b2e96 (patch)
tree7e832618ab92babf39751ef1ffb65b30577765bd /modutils/depmod.c
parent909edacc5ef8960784c5ec1ab529522bed1deaa8 (diff)
downloadbusybox-d28cd9900a58a902b1bf53404a250dfb345b2e96.zip
busybox-d28cd9900a58a902b1bf53404a250dfb345b2e96.tar.gz
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 b934702..cfa9abb 100644
--- a/modutils/depmod.c
+++ b/modutils/depmod.c
@@ -9,15 +9,16 @@
*/
//config:config DEPMOD
//config: bool "depmod"
-//config: default n
-//config: depends on !MODPROBE_SMALL
+//config: default y
//config: select PLATFORM_LINUX
//config: help
//config: depmod generates modules.dep (and potentially modules.alias
//config: and modules.symbols) that contain dependency information
//config: for modprobe.
-//applet:IF_DEPMOD(APPLET(depmod, BB_DIR_SBIN, BB_SUID_DROP))
+//kbuild:ifneq ($(CONFIG_MODPROBE_SMALL),y)
+//applet:IF_DEPMOD(IF_NOT_MODPROBE_SMALL(APPLET(depmod, BB_DIR_SBIN, BB_SUID_DROP)))
+//kbuild:endif
//kbuild:lib-$(CONFIG_DEPMOD) += depmod.o modutils.o