summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-06-18 03:49:34 -0500
committerWaldemar Brodkorb <wbx@openadk.org>2015-06-18 03:49:34 -0500
commit2d222d51ae2450292a7f5e798bcddb3aea4a6c55 (patch)
treee773fd865ba5148bba091821c466a94d47e02564
parent898adb5c351bb169f5cda94f844b6ef27fe62894 (diff)
introduce new config symbol for experimental stuff
The new symbol will hide experimental stuff, so that only known to work combinations are allowed to choose, when ADK_EXPERIMENTAL disabled.
-rw-r--r--target/config/Config.in.adk7
-rw-r--r--target/config/Config.in.kernelversion.choice6
2 files changed, 13 insertions, 0 deletions
diff --git a/target/config/Config.in.adk b/target/config/Config.in.adk
index fa0ad2158..18faa861d 100644
--- a/target/config/Config.in.adk
+++ b/target/config/Config.in.adk
@@ -17,6 +17,13 @@ config ADK_DL_DIR
Configure the download directory for all source packages.
Use an absolute path.
+config ADK_EXPERIMENTAL
+ bool "Enable support for experimental features"
+ default n
+ help
+ This enables combinations of toolchain components or kernel
+ and packages, which might be unsafe to use.
+
config ADK_BUILD_WITH_DEBUG
bool "Build everything with debug information and allow debug packages"
default n
diff --git a/target/config/Config.in.kernelversion.choice b/target/config/Config.in.kernelversion.choice
index a83d2c0f4..8a1f73aa5 100644
--- a/target/config/Config.in.kernelversion.choice
+++ b/target/config/Config.in.kernelversion.choice
@@ -8,14 +8,20 @@ default ADK_KERNEL_VERSION_4_0_5
config ADK_KERNEL_VERSION_GIT
bool "linux-git"
+ depends on (ADK_TARGET_SYSTEM_RASPBERRY_PI \
+ || ADK_TARGET_SYSTEM_RASPBERRY_PI2) && ADK_EXPERIMENTAL
config ADK_KERNEL_VERSION_4_1_0_RC5
bool "4.1.0rc5"
select ADK_KERNEL_VERSION_4_1
+ depends on (ADK_TARGET_SYSTEM_RASPBERRY_PI \
+ || ADK_TARGET_SYSTEM_RASPBERRY_PI2) && ADK_EXPERIMENTAL
config ADK_KERNEL_VERSION_4_0_5
bool "4.0.5"
select ADK_KERNEL_VERSION_4_0
+ depends on (ADK_TARGET_SYSTEM_RASPBERRY_PI \
+ || ADK_TARGET_SYSTEM_RASPBERRY_PI2) && ADK_EXPERIMENTAL
config ADK_KERNEL_VERSION_3_18_14
bool "3.18.14"