module: Move module's Kconfig items in kernel/module/
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Tue, 12 Jul 2022 05:52:33 +0000 (07:52 +0200)
committerLuis Chamberlain <mcgrof@kernel.org>
Tue, 12 Jul 2022 19:07:25 +0000 (12:07 -0700)
commit73b4fc92f97d775da26d86d2732497be6c610ec6
tree9c4f12fcd19c3ce8783c397432b13431fc0a0c1e
parentc76654e22da1e0cb830bd0eb5832072fb76df358
module: Move module's Kconfig items in kernel/module/

In init/Kconfig, the part dedicated to modules is quite large.

Move it into a dedicated Kconfig in kernel/module/

MODULES_TREE_LOOKUP was outside of the 'if MODULES', but as it is
only used when MODULES are set, move it in with everything else to
avoid confusion.

MODULE_SIG_FORMAT is left in init/Kconfig because this configuration
item is not used in kernel/modules/ but in kernel/ and can be
selected independently from CONFIG_MODULES. It is for instance
selected from security/integrity/ima/Kconfig.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
init/Kconfig
kernel/module/Kconfig [new file with mode: 0644]