Skip to contentSkip to conversation

Kconfig: add CONFIG_BROKEN

PATCH New Heinrich Schuchardt 3 participants 3 messages Oct 19, 2017 – Oct 24, 2017

lore
Share & tools
lore
#0 lore raw

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.

---
 Kconfig | 6 ++++++
 1 file changed, 6 insertions(+)
Kconfig +6 -0
index 227fb17dd9..e57fad4592 100644
@@ -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
Signature · 1 line
2.14.2
#1 lore raw

PATCH 1/1 Kconfig: add CONFIG_BROKEN

Quoted 11 lines · Heinrich Schuchardt

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.

---
 Kconfig | 6 ++++++
 1 file changed, 6 insertions(+)

Fair enough.

#2 lore raw

PATCH 1/1 Kconfig: add CONFIG_BROKEN

In reply to Heinrich Schuchardt
Quoted 9 lines · Heinrich Schuchardt

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.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171024/ae832fc6/attachment.sig>