kbuild: show the target directory for depmod log
authorMasahiro Yamada <masahiroy@kernel.org>
Wed, 31 Mar 2021 13:38:04 +0000 (22:38 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sat, 24 Apr 2021 20:22:26 +0000 (05:22 +0900)
It is clearer to show the directory which depmod will work on.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Makefile

index 99a2bd51c02d553373b524164a9d8b623f0f69f7..a6f73335757dc515a31588f786e7cdd88460f4c8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1778,7 +1778,7 @@ ifdef CONFIG_MODULES
 modules: $(MODORDER)
        $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modpost
 
-quiet_cmd_depmod = DEPMOD  $(KERNELRELEASE)
+quiet_cmd_depmod = DEPMOD  $(MODLIB)
       cmd_depmod = $(CONFIG_SHELL) $(srctree)/scripts/depmod.sh $(DEPMOD) \
                    $(KERNELRELEASE)