]> www.infradead.org Git - users/jedix/linux-maple.git/commit
docs: kconfig: Mention IS_REACHABLE as way for optional dependency
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 17 Feb 2025 11:31:53 +0000 (12:31 +0100)
committerMasahiro Yamada <masahiroy@kernel.org>
Sat, 15 Mar 2025 12:19:44 +0000 (21:19 +0900)
commit700bd25bd4f47a0f4e02e0a25dde05f1a6b16eea
treea0473bb7d8a576523e13bacd0a6ddf074a94fa1f
parentd0beb73d1d8a89c6c6830d8d873ac9d3163132dc
docs: kconfig: Mention IS_REACHABLE as way for optional dependency

Several drivers express optional Kconfig dependency with FOO || !FOO,
but for many choices this is not suitable: lack of stubs for !FOO
like in HWMON.  Describe the second, less favorable way of optional
dependency with IS_REACHABLE by moving the code from "imply" chapter to
"Optional dependencies".

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Documentation/kbuild/kconfig-language.rst