diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-23 07:54:52 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-23 07:54:52 +0100 |
commit | e32b64c4ec9272295df6852fb2a2888d7799d2f0 (patch) | |
tree | fa64292eb0697f7963060ad6d41f1d76b4978dff /modutils/depmod.c | |
parent | 5467d268f09ddddd200ab14fd402831708be5dfd (diff) | |
download | busybox-w32-e32b64c4ec9272295df6852fb2a2888d7799d2f0.tar.gz busybox-w32-e32b64c4ec9272295df6852fb2a2888d7799d2f0.tar.bz2 busybox-w32-e32b64c4ec9272295df6852fb2a2888d7799d2f0.zip |
Convert all modutils/* applets to "new style" applet definitions
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
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() */ |