maturity levels: a first pass

From: Robert P. J. Day
Date: Sat Apr 28 2007 - 17:37:40 EST



off the top of my head, this is what the interface might look like.

diff --git a/init/Kconfig b/init/Kconfig
index b170aa1..5c8529c 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -40,6 +40,26 @@ config EXPERIMENTAL
you say Y here, you will be offered the choice of using features or
drivers that are currently considered to be in the alpha-test phase.

+config ACTIVATE_MATURITY
+ bool "Activate maturity attribute selection"
+ ---help---
+ This feature gives you the ability to de-select entire sets of
+ kernel features based on how they've been tagged with the
+ "maturity" directive.
+
+ If you choose not to activate this feature, then the Kconfig
+ "maturity" directives have no effect on the configuration.
+
+config MATURITY_DEPRECATED
+ bool "Display DEPRECATED features."
+ depends on ACTIVATE_MATURITY
+ default y
+
+config MATURITY_OBSOLETE
+ bool "Display OBSOLETE features."
+ depends on ACTIVATE_MATURITY
+ default y
+
config BROKEN
bool


--
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://fsdev.net/wiki/index.php?title=Main_Page
========================================================================
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/