MODSIGN: Add option to not sign modules during modules_install
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / init / Kconfig
index fff4cb1321c5ec843d5d679407061f1345537c1e..88f334fb403b8efa279cdcc96fe527303d8cbdb4 100644 (file)
@@ -1665,6 +1665,17 @@ config MODULE_SIG_FORCE
          Reject unsigned modules or signed modules for which we don't have a
          key.  Without this, such modules will simply taint the kernel.
 
+config MODULE_SIG_ALL
+       bool "Automatically sign all modules"
+       default y
+       depends on MODULE_SIG
+       help
+         Sign all modules during make modules_install. Without this option,
+         modules must be signed manually, using the scripts/sign-file tool.
+
+comment "Do not forget to sign required modules with scripts/sign-file"
+       depends on MODULE_SIG_FORCE && !MODULE_SIG_ALL
+
 choice
        prompt "Which hash algorithm should modules be signed with?"
        depends on MODULE_SIG