[git commit branch/1_26_stable] depmod: don't build it if MODPROBE_SMALL=y

Denys Vlasenko vda.linux at googlemail.com
Sun Jan 1 12:13:48 UTC 2017


commit: https://git.busybox.net/busybox/commit/?id=1a6aca3d6002e133b7517f8f1ff3d7f0dd954c3f
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/1_26_stable

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 modutils/depmod.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modutils/depmod.c b/modutils/depmod.c
index cfa9abb..b7965eb 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"


More information about the busybox-cvs mailing list