]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2f5a0f65c9f7adaed9fa9ba1e6972d0b4b961c57
treea54378cb937f472f0d000ce1d41872791f4457b3
parentbb34f078a9357fbf386aab25852fa7788c9cad1c
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 9e8c3328f2eb ("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