mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
kbuild: do not run depmod for 'make modules_sign'
[ Upstream commit2429742e50] Commit961ab4a3cd("kbuild: merge scripts/Makefile.modsign to scripts/Makefile.modinst") started to run depmod at the end of 'make modules_sign'. Move the depmod rule to scripts/Makefile.modinst and run it only when $(modules_sign_only) is empty. Fixes:961ab4a3cd("kbuild: merge scripts/Makefile.modsign to scripts/Makefile.modinst") Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Nicolas Schier <nicolas@fjasle.eu> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
390275d7a8
commit
46d3bc902b
2
Makefile
2
Makefile
@@ -1939,7 +1939,9 @@ quiet_cmd_depmod = DEPMOD $(MODLIB)
|
|||||||
|
|
||||||
modules_install:
|
modules_install:
|
||||||
$(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modinst
|
$(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modinst
|
||||||
|
ifndef modules_sign_only
|
||||||
$(call cmd,depmod)
|
$(call cmd,depmod)
|
||||||
|
endif
|
||||||
|
|
||||||
else # CONFIG_MODULES
|
else # CONFIG_MODULES
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user