aboutsummaryrefslogtreecommitdiff
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:13:48 +0100
commit1a6aca3d6002e133b7517f8f1ff3d7f0dd954c3f (patch)
tree045dd12f6b5ec0deb61b71f04219d585c5271f65
parentfe3f55c540ed21005ba5bd981e098cb5dec64c37 (diff)
downloadbusybox-w32-1a6aca3d6002e133b7517f8f1ff3d7f0dd954c3f.tar.gz
busybox-w32-1a6aca3d6002e133b7517f8f1ff3d7f0dd954c3f.tar.bz2
busybox-w32-1a6aca3d6002e133b7517f8f1ff3d7f0dd954c3f.zip
depmod: don't build it if MODPROBE_SMALL=y
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-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 @@
16//config: and modules.symbols) that contain dependency information 16//config: and modules.symbols) that contain dependency information
17//config: for modprobe. 17//config: for modprobe.
18 18
19//kbuild:ifneq ($(CONFIG_MODPROBE_SMALL),y)
20//applet:IF_DEPMOD(IF_NOT_MODPROBE_SMALL(APPLET(depmod, BB_DIR_SBIN, BB_SUID_DROP))) 19//applet:IF_DEPMOD(IF_NOT_MODPROBE_SMALL(APPLET(depmod, BB_DIR_SBIN, BB_SUID_DROP)))
21//kbuild:endif
22 20
21//kbuild:ifneq ($(CONFIG_MODPROBE_SMALL),y)
23//kbuild:lib-$(CONFIG_DEPMOD) += depmod.o modutils.o 22//kbuild:lib-$(CONFIG_DEPMOD) += depmod.o modutils.o
23//kbuild:endif
24 24
25#include "libbb.h" 25#include "libbb.h"
26#include "modutils.h" 26#include "modutils.h"