depmod: don't build it if MODPROBE_SMALL=y

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2017-01-01 13:12:48 +01:00
parent 96f1d6b70c
commit 1f71014fd6

View File

@ -16,11 +16,11 @@
//config: and modules.symbols) that contain dependency information //config: and modules.symbols) that contain dependency information
//config: for modprobe. //config: for modprobe.
//kbuild:ifneq ($(CONFIG_MODPROBE_SMALL),y)
//applet:IF_DEPMOD(IF_NOT_MODPROBE_SMALL(APPLET(depmod, BB_DIR_SBIN, BB_SUID_DROP))) //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:lib-$(CONFIG_DEPMOD) += depmod.o modutils.o
//kbuild:endif
#include "libbb.h" #include "libbb.h"
#include "modutils.h" #include "modutils.h"