summaryrefslogtreecommitdiffhomepage
path: root/modutils
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-01-01 13:12:48 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2017-01-01 13:12:48 +0100
commit1f71014fd6de609ea8947fcb77d03d16fe18c841 (patch)
tree91b3e6f85e027fcce73d75ea626968d53773e885 /modutils
parent96f1d6b70c6c27798df6867d3cd98b385da624ea (diff)
depmod: don't build it if MODPROBE_SMALL=y
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'modutils')
-rw-r--r--modutils/depmod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modutils/depmod.c b/modutils/depmod.c
index cfa9abb1a..b7965ebd2 100644
--- a/modutils/depmod.c
+++ b/modutils/depmod.c
@@ -16,11 +16,11 @@
//config: and modules.symbols) that contain dependency information
//config: for modprobe.
-//kbuild:ifneq ($(CONFIG_MODPROBE_SMALL),y)
//applet:IF_DEPMOD(IF_NOT_MODPROBE_SMALL(APPLET(depmod, BB_DIR_SBIN, BB_SUID_DROP)))
-//kbuild:endif
+//kbuild:ifneq ($(CONFIG_MODPROBE_SMALL),y)
//kbuild:lib-$(CONFIG_DEPMOD) += depmod.o modutils.o
+//kbuild:endif
#include "libbb.h"
#include "modutils.h"