summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-11-23 11:42:48 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-11-23 11:43:09 +0100
commit968aaaefae727571a83eef0544e5c941e20df1e9 (patch)
treed0650b0ed6a86c98ca3c81fea0100aa7c6454810
parent72322cc86e019c7f1b4d9e130493ac769a471737 (diff)
choose defconfig when project git is used
-rw-r--r--target/config/Config.in.kernelcfg8
-rw-r--r--target/config/Config.in.kernelversion2
2 files changed, 6 insertions, 4 deletions
diff --git a/target/config/Config.in.kernelcfg b/target/config/Config.in.kernelcfg
index 6800226e7..eb971fdf8 100644
--- a/target/config/Config.in.kernelcfg
+++ b/target/config/Config.in.kernelcfg
@@ -4,13 +4,13 @@
choice
prompt "Kernel configuration" if !ADK_TARGET_CHOOSE_ARCH
depends on ADK_TARGET_OS_LINUX
+default ADK_TARGET_KERNEL_USE_DEFCONFIG if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK && ADK_TARGET_KERNEL_VERSION_GIT
+default ADK_TARGET_KERNEL_USE_DEFCONFIG if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6 && ADK_TARGET_KERNEL_VERSION_GIT
+default ADK_TARGET_KERNEL_USE_DEFCONFIG if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG && ADK_TARGET_KERNEL_VERSION_GIT
+default ADK_TARGET_KERNEL_USE_DEFCONFIG if ADK_TARGET_BOARD_BCM28XX && ADK_TARGET_KERNEL_VERSION_GIT
config ADK_TARGET_KERNEL_USE_MINICONFIG
bool "Use mini.config from OpenADK"
- depends on !ADK_TARGET_KERNEL_VERSION_RPI \
- && !ADK_TARGET_KERNEL_VERSION_FSLC \
- && !ADK_TARGET_KERNEL_VERSION_CLEARFOG \
- && !ADK_TARGET_KERNEL_VERSION_BB
config ADK_TARGET_KERNEL_USE_DEFCONFIG
bool "Use defconfig from Linux kernel"
diff --git a/target/config/Config.in.kernelversion b/target/config/Config.in.kernelversion
index cd2aa883f..926662347 100644
--- a/target/config/Config.in.kernelversion
+++ b/target/config/Config.in.kernelversion
@@ -20,7 +20,9 @@ config ADK_TARGET_KERNEL_VERSION_GIT
bool "git"
depends on !ADK_TARGET_ARCH_NDS32
select ADK_HOST_NEED_LZOP if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
+ select ADK_HOST_NEED_LZOP if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
select ADK_TARGET_KERNEL_IMAGE if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
+ select ADK_TARGET_KERNEL_IMAGE if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
config ADK_TARGET_KERNEL_VERSION_4_8
bool "4.8.6"