[PATCH] kconfig: Add `make mod2noconfig` to disable module options

From: Björn Töpel
Date: Wed Nov 17 2021 - 05:46:02 EST


Josh Triplett wrote:
> 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@xxxxxxxxxxxxxxxx>

Hmm, I don't think this was picked up yet?

FWIW,

Tested-by: Björn Töpel <bjorn@xxxxxxxxxx>