diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2023-08-23 20:50:43 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2023-08-29 22:38:23 +0900 |
commit | 79b96c332241c06b4c63cfa0e23a539558b79b90 (patch) | |
tree | 4ee58486fb571dd15c83edfaf861d0d253222df1 /Makefile | |
parent | eb931e12194b69b59e6badb06cf1b53e6106ccee (diff) |
kbuild: move depmod rule to scripts/Makefile.modinst
depmod is a part of the module installation.
scripts/Makefile.modinst is a better place to run it.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -509,7 +509,6 @@ LEX = flex YACC = bison AWK = awk INSTALLKERNEL := installkernel -DEPMOD = depmod PERL = perl PYTHON3 = python3 CHECK = sparse @@ -1871,15 +1870,8 @@ PHONY += modules_check modules_check: $(MODORDER) $(Q)$(CONFIG_SHELL) $(srctree)/scripts/modules-check.sh $< -quiet_cmd_depmod = DEPMOD $(MODLIB) - cmd_depmod = $(CONFIG_SHELL) $(srctree)/scripts/depmod.sh $(DEPMOD) \ - $(KERNELRELEASE) - modules_install: $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modinst -ifndef modules_sign_only - $(call cmd,depmod) -endif else # CONFIG_MODULES |