Config.in.kernelcfg 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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_LINUX_KERNEL_USE_DEFCONFIG if ADK_TARGET_SYSTEM_SIPEED_MAIX_BIT
  7. default ADK_TARGET_LINUX_KERNEL_USE_DEFCONFIG if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK && ADK_TARGET_LINUX_KERNEL_VERSION_GIT
  8. default ADK_TARGET_LINUX_KERNEL_USE_DEFCONFIG if ADK_TARGET_SYSTEM_PHYTEC_WEGA && ADK_TARGET_LINUX_KERNEL_VERSION_GIT
  9. default ADK_TARGET_LINUX_KERNEL_USE_DEFCONFIG if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG && ADK_TARGET_LINUX_KERNEL_VERSION_GIT
  10. default ADK_TARGET_LINUX_KERNEL_USE_DEFCONFIG if ADK_TARGET_BOARD_BCM28XX && ADK_TARGET_LINUX_KERNEL_VERSION_GIT
  11. config ADK_TARGET_LINUX_KERNEL_USE_MINICONFIG
  12. bool "Use mini.config from OpenADK"
  13. config ADK_TARGET_LINUX_KERNEL_USE_DEFCONFIG
  14. bool "Use defconfig from Linux kernel"
  15. config ADK_TARGET_LINUX_KERNEL_USE_CUSTOMCONFIG
  16. bool "Use custom Linux kernel configuration file"
  17. endchoice
  18. config ADK_TARGET_LINUX_KERNEL_DEFCONFIG
  19. string "Defconfig name"
  20. depends on ADK_TARGET_LINUX_KERNEL_USE_DEFCONFIG
  21. default "bcmrpi_defconfig" if ADK_TARGET_SYSTEM_RASPBERRY_PI
  22. default "bcmrpi_defconfig" if ADK_TARGET_SYSTEM_RASPBERRY_PI0
  23. default "bcm2709_defconfig" if ADK_TARGET_SYSTEM_RASPBERRY_PI2
  24. default "bcm2709_defconfig" if ADK_TARGET_SYSTEM_RASPBERRY_PI3
  25. default "bcm2711_defconfig" if ADK_TARGET_SYSTEM_RASPBERRY_PI4
  26. default "bcmrpi3_defconfig" if ADK_TARGET_SYSTEM_RASPBERRY_PI3_64
  27. default "bcm2711_defconfig" if ADK_TARGET_SYSTEM_RASPBERRY_PI4_64
  28. default "twr-k70f120m_defconfig" if ADK_TARGET_SYSTEM_KINETIS_K70
  29. default "imx_v7_cbi_hb_defconfig" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6 && ADK_TARGET_LINUX_KERNEL_VERSION_GIT
  30. default "imx_v6_v7_defconfig" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  31. default "mvebu_defconfig" if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
  32. default "nsim_700_defconfig" if ADK_TARGET_CPU_ARC_ARC700 && ADK_TARGET_SYSTEM_SYNOPSYS_NSIM
  33. default "nsim_hs_defconfig" if ADK_TARGET_CPU_ARC_ARCHS && ADK_TARGET_SYSTEM_SYNOPSYS_NSIM
  34. default "10m50_defconfig" if ADK_TARGET_SYSTEM_QEMU_NIOS2
  35. default "ag101p_defconfig" if ADK_TARGET_SYSTEM_ANDES_AG101P
  36. default "bb.org_defconfig" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  37. default "am335x_phytec_defconfig" if ADK_TARGET_SYSTEM_PHYTEC_WEGA
  38. default "j2_defconfig" if ADK_TARGET_SYSTEM_NUMATO_MIMASV2
  39. default "sunxi_defconfig" if ADK_TARGET_SYSTEM_ORANGE_PI0
  40. default "edosk2674_defconfig" if ADK_TARGET_SYSTEM_HITACHI_EDOSK2674
  41. default "x86_64_defconfig" if ADK_TARGET_SYSTEM_GENERIC_X86_64
  42. default "i386_defconfig" if ADK_TARGET_SYSTEM_GENERIC_X86
  43. default "stm32_defconfig" if ADK_TARGET_SYSTEM_ST_STM32F429
  44. default "stm32_defconfig" if ADK_TARGET_SYSTEM_ST_STM32F769
  45. default "nommu_k210_defconfig" if ADK_TARGET_SYSTEM_SIPEED_MAIX_BIT
  46. default ""
  47. config ADK_TARGET_LINUX_KERNEL_CUSTOMCONFIG_PATH
  48. string "Kernel configuration file location"
  49. depends on ADK_TARGET_LINUX_KERNEL_USE_CUSTOMCONFIG
  50. default ".kernelconfig"