]> git.baikalelectronics.ru Git - kernel.git/commit
kconfig: Add `make mod2noconfig` to disable module options
authorJosh Triplett <josh@joshtriplett.org>
Sun, 17 Oct 2021 17:43:13 +0000 (19:43 +0200)
committerMasahiro Yamada <masahiroy@kernel.org>
Thu, 2 Dec 2021 08:02:36 +0000 (17:02 +0900)
commit68fc77f576dcb011bdf0056da714286dabd265cb
tree1677226346ce6fd69a70c7c6caefe7f0ad23afd7
parentff04131966d1a79c1b3cf26997a8e7d1433f1b7d
kconfig: Add `make mod2noconfig` to disable module options

When converting a modular kernel to a monolithic kernel, once the kernel
works without loading any modules, this helps to quickly disable all the
modules before turning off module support entirely.

Refactor conf_rewrite_mod_or_yes to a more general
conf_rewrite_tristates that accepts an old and new state.

Signed-off-by: Josh Triplett <josh@joshtriplett.org>
Tested-by: Björn Töpel <bjorn@kernel.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/Makefile
scripts/kconfig/conf.c