Browse Source

choose defconfig when project git is used

Waldemar Brodkorb 8 years ago
parent
commit
968aaaefae
2 changed files with 6 additions and 4 deletions
  1. 4 4
      target/config/Config.in.kernelcfg
  2. 2 0
      target/config/Config.in.kernelversion

+ 4 - 4
target/config/Config.in.kernelcfg

@@ -4,13 +4,13 @@
 choice 
 choice 
 prompt "Kernel configuration" if !ADK_TARGET_CHOOSE_ARCH
 prompt "Kernel configuration" if !ADK_TARGET_CHOOSE_ARCH
 depends on ADK_TARGET_OS_LINUX
 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
 config ADK_TARGET_KERNEL_USE_MINICONFIG
 	bool "Use mini.config from OpenADK"
 	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
 config ADK_TARGET_KERNEL_USE_DEFCONFIG
 	bool "Use defconfig from Linux kernel"
 	bool "Use defconfig from Linux kernel"

+ 2 - 0
target/config/Config.in.kernelversion

@@ -20,7 +20,9 @@ config ADK_TARGET_KERNEL_VERSION_GIT
 	bool "git"
 	bool "git"
 	depends on !ADK_TARGET_ARCH_NDS32
 	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_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_SOLIDRUN_IMX6
+	select ADK_TARGET_KERNEL_IMAGE if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
 
 
 config ADK_TARGET_KERNEL_VERSION_4_8
 config ADK_TARGET_KERNEL_VERSION_4_8
 	bool "4.8.6"
 	bool "4.8.6"