kbuild: remove unused -r option for module-init-tool depmod
authorGilles Espinasse <g.esp@free.fr>
Sat, 7 Mar 2009 12:57:25 +0000 (13:57 +0100)
committerSam Ravnborg <sam@ravnborg.org>
Sat, 7 Mar 2009 12:57:25 +0000 (13:57 +0100)
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>
Makefile

index 55424172bea40d820c1e2d1924df19f682445ccb..5a5b82eaaec2bc4077d1d5a2559b4ac6d19440cf 100644 (file)
--- 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