1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
5 prompt "Kernel configuration" if !ADK_TARGET_CHOOSE_ARCH
6 depends on ADK_TARGET_OS_LINUX
8 config ADK_TARGET_KERNEL_USE_MINICONFIG
9 bool "Use mini.config from OpenADK"
10 depends on !ADK_TARGET_KERNEL_VERSION_RPI \
11 && !ADK_TARGET_KERNEL_VERSION_FSLC \
12 && !ADK_TARGET_KERNEL_VERSION_CLEARFOG \
13 && !ADK_TARGET_KERNEL_VERSION_BB
15 config ADK_TARGET_KERNEL_USE_DEFCONFIG
16 bool "Use defconfig from Linux kernel"
18 config ADK_TARGET_KERNEL_USE_CUSTOMCONFIG
19 bool "Use custom Linux kernel configuration file"
23 config ADK_TARGET_KERNEL_DEFCONFIG
25 depends on ADK_TARGET_KERNEL_USE_DEFCONFIG
26 default "bcmrpi_defconfig" if ADK_TARGET_SYSTEM_RASPBERRY_PI
27 default "bcm2709_defconfig" if ADK_TARGET_SYSTEM_RASPBERRY_PI2
28 default "bcm2709_defconfig" if ADK_TARGET_SYSTEM_RASPBERRY_PI3
29 default "twr-k70f120m_defconfig" if ADK_TARGET_SYSTEM_KINETIS_K70
30 default "imx_v7_cbi_hb_defconfig" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
31 default "mvebu_extra_defconfig" if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
32 default "nsim_700_defconfig" if ADK_TARGET_SYSTEM_NSIM_ARCV1
33 default "nsim_hs_defconfig" if ADK_TARGET_SYSTEM_NSIM_ARCV2
34 default "10m50_defconfig" if ADK_TARGET_SYSTEM_QEMU_NIOS2
35 default "orca_defconfig" if ADK_TARGET_SYSTEM_ANDES_AG101P
36 default "bb.org_defconfig" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
38 config ADK_TARGET_KERNEL_CUSTOMCONFIG_PATH
39 string "Kernel configuration file location"
40 depends on ADK_TARGET_KERNEL_USE_CUSTOMCONFIG
41 default ".kernelconfig"