summaryrefslogtreecommitdiff
path: root/target/config/Config.in.kernelcfg
blob: 6159d059f7e9699b089dbe9496e0a6f0f34ede2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

choice 
prompt "Kernel configuration" if !ADK_TARGET_CHOOSE_ARCH
depends on ADK_TARGET_OS_LINUX

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_BB

config ADK_TARGET_KERNEL_USE_DEFCONFIG
	bool "Use defconfig from Linux kernel"

config ADK_TARGET_KERNEL_USE_CUSTOMCONFIG
	bool "Use custom Linux kernel configuration file"

endchoice

config ADK_TARGET_KERNEL_DEFCONFIG
	string
	depends on ADK_TARGET_KERNEL_USE_DEFCONFIG
	default "bcmrpi_defconfig" if ADK_TARGET_SYSTEM_RASPBERRY_PI
	default "bcm2709_defconfig" if ADK_TARGET_SYSTEM_RASPBERRY_PI2
	default "bcm2709_defconfig" if ADK_TARGET_SYSTEM_RASPBERRY_PI3
	default "twr-k70f120m_defconfig" if ADK_TARGET_SYSTEM_KINETIS_K70
	default "imx_v7_cbi_hb_defconfig" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
	default "nsim_700_defconfig" if ADK_TARGET_SYSTEM_NSIM_ARCV1
	default "nsim_hs_defconfig" if ADK_TARGET_SYSTEM_NSIM_ARCV2
	default "10m50_defconfig" if ADK_TARGET_SYSTEM_QEMU_NIOS2
	default "orca_defconfig" if ADK_TARGET_SYSTEM_ANDES_AG101P
	default "bb.org_defconfig" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK

config ADK_TARGET_KERNEL_CUSTOMCONFIG_PATH
	string "Kernel configuration file location"
	depends on ADK_TARGET_KERNEL_USE_CUSTOMCONFIG
	default ".kernelconfig"