Convert all modutils/* applets to "new style" applet definitions

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2016-11-23 07:54:52 +01:00
parent 5467d268f0
commit e32b64c4ec
9 changed files with 119 additions and 118 deletions

View File

@ -7,9 +7,20 @@
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
//config:config DEPMOD
//config: bool "depmod"
//config: default n
//config: depends on !MODPROBE_SMALL
//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:lib-$(CONFIG_DEPMOD) += depmod.o modutils.o
#include "libbb.h"
#include "modutils.h"
#include <sys/utsname.h> /* uname() */