[U-Boot] [PATCH 1/1] Kconfig: add CONFIG_BROKEN

Provide a Kconfig option that we can use as dependency for features that are broken. This allows to easily disable them without removing the code.
As no short text is supplied the option will not appear in menuconfig.
Signed-off-by: Heinrich Schuchardt xypron.glpk@gmx.de --- Kconfig | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/Kconfig b/Kconfig index 227fb17dd9..e57fad4592 100644 --- a/Kconfig +++ b/Kconfig @@ -14,6 +14,12 @@ source "arch/Kconfig"
menu "General setup"
+config BROKEN + bool + help + This option cannot be enabled. It is used as dependency + for broken and incomplete features. + config LOCALVERSION string "Local version - append to U-Boot release" help

On 19 October 2017 at 23:49, Heinrich Schuchardt xypron.glpk@gmx.de wrote:
Provide a Kconfig option that we can use as dependency for features that are broken. This allows to easily disable them without removing the code.
As no short text is supplied the option will not appear in menuconfig.
Signed-off-by: Heinrich Schuchardt xypron.glpk@gmx.de
Kconfig | 6 ++++++ 1 file changed, 6 insertions(+)
Fair enough.
Reviewed-by: Simon Glass sjg@chromium.org

On Thu, Oct 19, 2017 at 11:49:19PM +0200, Heinrich Schuchardt wrote:
Provide a Kconfig option that we can use as dependency for features that are broken. This allows to easily disable them without removing the code.
As no short text is supplied the option will not appear in menuconfig.
Signed-off-by: Heinrich Schuchardt xypron.glpk@gmx.de Reviewed-by: Simon Glass sjg@chromium.org
Applied to u-boot/master, thanks!
participants (3)
-
Heinrich Schuchardt
-
Simon Glass
-
Tom Rini