Config.in.kernelcfg 1.5 KB

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