diff options
Diffstat (limited to '')
-rw-r--r-- | modutils/depmod.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/modutils/depmod.c b/modutils/depmod.c index b9347027e..b7965ebd2 100644 --- a/modutils/depmod.c +++ b/modutils/depmod.c | |||
@@ -9,17 +9,18 @@ | |||
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 | //applet:IF_DEPMOD(IF_NOT_MODPROBE_SMALL(APPLET(depmod, BB_DIR_SBIN, BB_SUID_DROP))) |
21 | 20 | ||
21 | //kbuild:ifneq ($(CONFIG_MODPROBE_SMALL),y) | ||
22 | //kbuild:lib-$(CONFIG_DEPMOD) += depmod.o modutils.o | 22 | //kbuild:lib-$(CONFIG_DEPMOD) += depmod.o modutils.o |
23 | //kbuild:endif | ||
23 | 24 | ||
24 | #include "libbb.h" | 25 | #include "libbb.h" |
25 | #include "modutils.h" | 26 | #include "modutils.h" |