kconfig: allow symbols implied by y to become m
authorMasahiro Yamada <masahiroy@kernel.org>
Mon, 2 Mar 2020 06:23:39 +0000 (15:23 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Fri, 13 Mar 2020 01:05:34 +0000 (10:05 +0900)
commitdef2fbffe62c00c330c7f41584a356001179c59c
treea54378cb937f472f0d000ce1d41872791f4457b3
parent1cd9b3abf5332102d4d967555e7ed861a75094bf
kconfig: allow symbols implied by y to become m

The 'imply' keyword restricts a symbol to y or n, excluding m
when it is implied by y. This is the original behavior since
commit 237e3ad0f195 ("Kconfig: Introduce the "imply" keyword").

However, the author of this feature, Nicolas Pitre, stated that
the 'imply' keyword should not impose any restrictions.
(https://lkml.org/lkml/2020/2/19/714)

I agree, and want to get rid of this tricky behavior.

Suggested-by: Nicolas Pitre <nico@fluxnic.net>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Acked-by: Nicolas Pitre <nico@fluxnic.net>
Documentation/kbuild/kconfig-language.rst
scripts/kconfig/symbol.c