bc: prepare for char-by-char input handling
[oweals/busybox.git] / modutils / depmod.c
index e5f0e3d2b48e5d34fbe206003a90bdd27d9b2de6..004c67a11dee54019adcad2af64aa33d38b8d028 100644 (file)
@@ -7,8 +7,20 @@
  *
  * Licensed under GPLv2 or later, see file LICENSE in this source tree.
  */
+//config:config DEPMOD
+//config:      bool "depmod (26 kb)"
+//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))
+//applet:IF_DEPMOD(IF_NOT_MODPROBE_SMALL(APPLET(depmod, BB_DIR_SBIN, BB_SUID_DROP)))
+
+//kbuild:ifneq ($(CONFIG_MODPROBE_SMALL),y)
+//kbuild:lib-$(CONFIG_DEPMOD) += depmod.o modutils.o
+//kbuild:endif
 
 #include "libbb.h"
 #include "modutils.h"