summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2023-08-23 14:50:43 +0300
committerMasahiro Yamada <masahiroy@kernel.org>2023-08-29 16:38:23 +0300
commit79b96c332241c06b4c63cfa0e23a539558b79b90 (patch)
tree4ee58486fb571dd15c83edfaf861d0d253222df1 /Makefile
parenteb931e12194b69b59e6badb06cf1b53e6106ccee (diff)
downloadlinux-79b96c332241c06b4c63cfa0e23a539558b79b90.tar.xz
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--Makefile8
1 files changed, 0 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index ba35ba14a974..ac11e6893ed1 100644
--- a/Makefile
+++ b/Makefile
@@ -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