diff options
Diffstat (limited to 'modutils/depmod.c')
-rw-r--r-- | modutils/depmod.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/modutils/depmod.c b/modutils/depmod.c index e5f0e3d2b..b9347027e 100644 --- a/modutils/depmod.c +++ b/modutils/depmod.c | |||
@@ -7,9 +7,20 @@ | |||
7 | * | 7 | * |
8 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 8 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
9 | */ | 9 | */ |
10 | //config:config DEPMOD | ||
11 | //config: bool "depmod" | ||
12 | //config: default n | ||
13 | //config: depends on !MODPROBE_SMALL | ||
14 | //config: select PLATFORM_LINUX | ||
15 | //config: help | ||
16 | //config: depmod generates modules.dep (and potentially modules.alias | ||
17 | //config: and modules.symbols) that contain dependency information | ||
18 | //config: for modprobe. | ||
10 | 19 | ||
11 | //applet:IF_DEPMOD(APPLET(depmod, BB_DIR_SBIN, BB_SUID_DROP)) | 20 | //applet:IF_DEPMOD(APPLET(depmod, BB_DIR_SBIN, BB_SUID_DROP)) |
12 | 21 | ||
22 | //kbuild:lib-$(CONFIG_DEPMOD) += depmod.o modutils.o | ||
23 | |||
13 | #include "libbb.h" | 24 | #include "libbb.h" |
14 | #include "modutils.h" | 25 | #include "modutils.h" |
15 | #include <sys/utsname.h> /* uname() */ | 26 | #include <sys/utsname.h> /* uname() */ |