diff options
author | Denys Vlasenko | 2016-12-23 15:12:27 +0100 |
---|---|---|
committer | Denys Vlasenko | 2016-12-23 15:13:16 +0100 |
commit | a1cd0d9849946e0627484ec6b6435837c853a113 (patch) | |
tree | 23c7c643bd0af2859beff3876bdbaa20953bdb5f /modutils/depmod.c | |
parent | ce3a98a222a2191ef4a22e90c49a51dfa7279e07 (diff) | |
download | busybox-a1cd0d9849946e0627484ec6b6435837c853a113.zip busybox-a1cd0d9849946e0627484ec6b6435837c853a113.tar.gz |
modprobe-small: make applets individually selectable
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'modutils/depmod.c')
-rw-r--r-- | modutils/depmod.c | 7 |
1 files changed, 4 insertions, 3 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 |