[openwrt/openwrt] config: add big EXPERIMENTAL option

LEDE Commits lede-commits at lists.infradead.org
Thu Dec 10 14:34:29 EST 2020


dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/866307285445f1086af1cc8352a46e55260274d1

commit 866307285445f1086af1cc8352a46e55260274d1
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Thu Dec 10 19:29:03 2020 +0000

    config: add big EXPERIMENTAL option
    
    As discussed in the today's (2020-12-10) meeting, add a new option to
    menuconfig to group the selection of all experimental features to be
    selected by default.
    Developers are recommended to make use of this new symbol to guard
    new features.
    Other developers and community members should feel encouraged to
    build with this flag enabled to help testing and provide feedback.
    
    Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
 config/Config-build.in | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/config/Config-build.in b/config/Config-build.in
index cfefa4eed3..0aaf6b31c3 100644
--- a/config/Config-build.in
+++ b/config/Config-build.in
@@ -5,6 +5,20 @@
 # See /LICENSE for more information.
 #
 
+config EXPERIMENTAL
+	bool "Enable experimental features by default"
+	default n
+	help
+	  Set this option to build with latest bleeding edge features
+	  which may or may not work as expected.
+	  If you would like to help the development of OpenWrt, you are
+	  encouraged to set this option and provide feedback (both
+	  positive and negative). But do so only if you know how to
+	  recover your device in case of flashing potentially non-working
+	  firmware.
+	
+	  If you plan to use this build in production, say NO!
+
 menu "Global build settings"
 
 	config JSON_OVERVIEW_IMAGE_INFO
@@ -51,7 +65,7 @@ menu "Global build settings"
 	config TESTING_KERNEL
 		bool "Use the testing kernel version"
 		depends on HAS_TESTING_KERNEL
-		default n
+		default EXPERIMENTAL
 		help
 		  If the target supports a newer kernel version than the default,
 		  you can use this config option to enable it



More information about the lede-commits mailing list