Documentation: kbuild: explain handling optional dependencies
authorArnd Bergmann <arnd@arndb.de>
Sun, 17 Sep 2023 19:19:59 +0000 (21:19 +0200)
committerMasahiro Yamada <masahiroy@kernel.org>
Mon, 25 Sep 2023 07:01:05 +0000 (16:01 +0900)
commit28d49e171676afb7df7f47798391364af9abed7f
tree958b34bd540d22f2d8af5c2f64b6ca978fd1ba05
parentfbf5892df21a8ccfcb2fda0fd65bc3169c89ed28
Documentation: kbuild: explain handling optional dependencies

This problem frequently comes up in randconfig testing, with
drivers failing to link because of a dependency on an optional
feature.

The Kconfig language for this is very confusing, so try to
document it in "Kconfig hints" section.

Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Nicolas Schier <nicolas@fjasle.eu>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Documentation/kbuild/kconfig-language.rst