Skip to content

Commit

Permalink
Kconfig: add CONFIG_BROKEN
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
  • Loading branch information
xypron authored and trini committed Oct 23, 2017
1 parent 6af5520 commit 4c7a211
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4c7a211

Please sign in to comment.