-rwxr-xr-x | include/applets.h.sh | 3 | ||||
-rwxr-xr-x | make_single_applets.sh | 7 | ||||
-rw-r--r-- | modutils/depmod.c | 7 | ||||
-rw-r--r-- | modutils/insmod.c | 5 | ||||
-rw-r--r-- | modutils/lsmod.c | 11 | ||||
-rw-r--r-- | modutils/modprobe-small.c | 24 | ||||
-rw-r--r-- | modutils/modprobe.c | 11 | ||||
-rw-r--r-- | modutils/rmmod.c | 5 |
8 files changed, 41 insertions, 32 deletions
diff --git a/modutils/depmod.c b/modutils/depmod.c index b934702..cfa9abb 100644 --- a/modutils/depmod.c +++ b/modutils/depmod.c @@ -9,15 +9,16 @@ */ //config:config DEPMOD //config: bool "depmod" -//config: default n -//config: depends on !MODPROBE_SMALL +//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)) +//kbuild:ifneq ($(CONFIG_MODPROBE_SMALL),y) +//applet:IF_DEPMOD(IF_NOT_MODPROBE_SMALL(APPLET(depmod, BB_DIR_SBIN, BB_SUID_DROP))) +//kbuild:endif //kbuild:lib-$(CONFIG_DEPMOD) += depmod.o modutils.o |