From: Gilles Espinasse <g.esp@free.fr>
Date: Sat, 7 Mar 2009 12:57:25 +0000 (+0100)
Subject: kbuild: remove unused -r option for module-init-tool depmod
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=75bccd881a49d2da796ec0852158f957dc023f61;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git

kbuild: remove unused -r option for module-init-tool depmod

Following a thread on busybox mailing list
depmod -r option is ignored by module-init-tools depmod
-r option break busybox depmod.

So the best solution look to remove -r from kernel Makefile

Signed-off-by: Gilles Espinasse <g.esp@free.fr>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
---

diff --git a/Makefile b/Makefile
index 55424172bea4..5a5b82eaaec2 100644
--- a/Makefile
+++ b/Makefile
@@ -1543,7 +1543,7 @@ quiet_cmd_depmod = DEPMOD  $(KERNELRELEASE)
       cmd_depmod = \
 	if [ -r System.map -a -x $(DEPMOD) ]; then                              \
 		$(DEPMOD) -ae -F System.map                                     \
-		$(if $(strip $(INSTALL_MOD_PATH)), -b $(INSTALL_MOD_PATH) -r)   \
+		$(if $(strip $(INSTALL_MOD_PATH)), -b $(INSTALL_MOD_PATH) )     \
 		$(KERNELRELEASE);                                               \
 	fi