maturity levels: a first pass

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux