Config.in.kernelcfg 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. default ADK_TARGET_KERNEL_USE_DEFCONFIG if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK && ADK_TARGET_KERNEL_VERSION_GIT
  7. default ADK_TARGET_KERNEL_USE_DEFCONFIG if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG && ADK_TARGET_KERNEL_VERSION_GIT
  8. config ADK_TARGET_KERNEL_USE_MINICONFIG
  9. bool "Use mini.config from OpenADK"
  10. config ADK_TARGET_KERNEL_USE_DEFCONFIG
  11. bool "Use defconfig from Linux kernel"
  12. config ADK_TARGET_KERNEL_USE_CUSTOMCONFIG
  13. bool "Use custom Linux kernel configuration file"
  14. endchoice
  15. config ADK_TARGET_KERNEL_DEFCONFIG
  16. string "Defconfig name"
  17. depends on ADK_TARGET_KERNEL_USE_DEFCONFIG
  18. default "bcmrpi_defconfig" if ADK_TARGET_SYSTEM_RASPBERRY_PI
  19. default "bcmrpi_defconfig" if ADK_TARGET_SYSTEM_RASPBERRY_PI0
  20. default "bcm2709_defconfig" if ADK_TARGET_SYSTEM_RASPBERRY_PI2
  21. default "bcm2709_defconfig" if ADK_TARGET_SYSTEM_RASPBERRY_PI3
  22. default "bcmrpi3_defconfig" if ADK_TARGET_SYSTEM_RASPBERRY_PI3_64
  23. default "twr-k70f120m_defconfig" if ADK_TARGET_SYSTEM_KINETIS_K70
  24. default "imx_v7_cbi_hb_defconfig" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  25. default "mvebu_defconfig" if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
  26. default "nsim_700_defconfig" if ADK_TARGET_SYSTEM_NSIM_ARCV1
  27. default "nsim_hs_defconfig" if ADK_TARGET_SYSTEM_NSIM_ARCV2
  28. default "10m50_defconfig" if ADK_TARGET_SYSTEM_QEMU_NIOS2
  29. default "orca_defconfig" if ADK_TARGET_SYSTEM_ANDES_AG101P
  30. default "bb.org_defconfig" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  31. default "j2_defconfig" if ADK_TARGET_SYSTEM_NUMATO_MIMASV2
  32. default "sunxi_defconfig" if ADK_TARGET_SYSTEM_ORANGE_PI0
  33. default "edosk2674_defconfig" if ADK_TARGET_SYSTEM_HITACHI_EDOSK2674
  34. default ""
  35. config ADK_TARGET_KERNEL_CUSTOMCONFIG_PATH
  36. string "Kernel configuration file location"
  37. depends on ADK_TARGET_KERNEL_USE_CUSTOMCONFIG
  38. default ".kernelconfig"