Config.in.kernelcfg 4.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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_CPU_ARC_ARC32
  7. default ADK_TARGET_LINUX_KERNEL_USE_DEFCONFIG if ADK_TARGET_CPU_ARC_ARC64
  8. default ADK_TARGET_LINUX_KERNEL_USE_DEFCONFIG if ADK_TARGET_SYSTEM_SIPEED_MAIX_BIT
  9. default ADK_TARGET_LINUX_KERNEL_USE_DEFCONFIG if ADK_TARGET_SYSTEM_SIPEED_MAIX_BIT
  10. default ADK_TARGET_LINUX_KERNEL_USE_DEFCONFIG if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK && ADK_TARGET_LINUX_KERNEL_VERSION_GIT
  11. default ADK_TARGET_LINUX_KERNEL_USE_DEFCONFIG if ADK_TARGET_SYSTEM_PHYTEC_WEGA && ADK_TARGET_LINUX_KERNEL_VERSION_GIT
  12. default ADK_TARGET_LINUX_KERNEL_USE_DEFCONFIG if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG && ADK_TARGET_LINUX_KERNEL_VERSION_GIT
  13. default ADK_TARGET_LINUX_KERNEL_USE_DEFCONFIG if ADK_TARGET_BOARD_BCM28XX && ADK_TARGET_LINUX_KERNEL_VERSION_GIT
  14. config ADK_TARGET_LINUX_KERNEL_USE_MINICONFIG
  15. bool "Use mini.config from OpenADK"
  16. config ADK_TARGET_LINUX_KERNEL_USE_DEFCONFIG
  17. bool "Use defconfig from Linux kernel"
  18. config ADK_TARGET_LINUX_KERNEL_USE_CUSTOMCONFIG
  19. bool "Use custom Linux kernel configuration file"
  20. endchoice
  21. config ADK_TARGET_LINUX_KERNEL_DEFCONFIG
  22. string "Defconfig name"
  23. depends on ADK_TARGET_LINUX_KERNEL_USE_DEFCONFIG
  24. default "bcmrpi_defconfig" if ADK_TARGET_SYSTEM_RASPBERRY_PI
  25. default "bcmrpi_defconfig" if ADK_TARGET_SYSTEM_RASPBERRY_PI0
  26. default "bcm2709_defconfig" if ADK_TARGET_SYSTEM_RASPBERRY_PI2
  27. default "bcm2709_defconfig" if ADK_TARGET_SYSTEM_RASPBERRY_PI3
  28. default "bcm2711_defconfig" if ADK_TARGET_SYSTEM_RASPBERRY_PI4
  29. default "bcmrpi3_defconfig" if ADK_TARGET_SYSTEM_RASPBERRY_PI3_64
  30. default "bcm2711_defconfig" if ADK_TARGET_SYSTEM_RASPBERRY_PI4_64
  31. default "bcm2712_defconfig" if ADK_TARGET_SYSTEM_RASPBERRY_PI5
  32. default "twr-k70f120m_defconfig" if ADK_TARGET_SYSTEM_KINETIS_K70
  33. default "imx_v7_cbi_hb_defconfig" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6 && ADK_TARGET_LINUX_KERNEL_VERSION_GIT
  34. default "imx_v6_v7_defconfig" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  35. default "mvebu_v7_defconfig" if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
  36. default "nsim_700_defconfig" if ADK_TARGET_CPU_ARC_ARC700 && ADK_TARGET_SYSTEM_SYNOPSYS_NSIM
  37. default "haps_hs_defconfig" if ADK_TARGET_CPU_ARC_ARCHS && ADK_TARGET_SYSTEM_SYNOPSYS_NSIM
  38. default "10m50_defconfig" if ADK_TARGET_SYSTEM_QEMU_NIOS2
  39. default "ag101p_defconfig" if ADK_TARGET_SYSTEM_ANDES_AG101P
  40. default "bb.org_defconfig" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK && ADK_TARGET_LINUX_KERNEL_VERSION_GIT
  41. default "omap2plus_defconfig" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK && !ADK_TARGET_LINUX_KERNEL_VERSION_GIT
  42. default "am335x_phytec_defconfig" if ADK_TARGET_SYSTEM_PHYTEC_WEGA
  43. default "j2_defconfig" if ADK_TARGET_SYSTEM_NUMATO_MIMASV2
  44. default "sunxi_defconfig" if ADK_TARGET_SYSTEM_ORANGE_PI0
  45. default "sunxi_defconfig" if ADK_TARGET_SYSTEM_BANANA_P2_ZERO
  46. default "sunxi_defconfig" if ADK_TARGET_SYSTEM_BANANA_PRO
  47. default "edosk2674_defconfig" if ADK_TARGET_SYSTEM_HITACHI_EDOSK2674
  48. default "x86_64_defconfig" if ADK_TARGET_SYSTEM_GENERIC_X86_64
  49. default "i386_defconfig" if ADK_TARGET_SYSTEM_GENERIC_X86
  50. default "stm32_defconfig" if ADK_TARGET_SYSTEM_ST_STM32F429
  51. default "stm32_defconfig" if ADK_TARGET_SYSTEM_ST_STM32F769
  52. default "stm32_defconfig" if ADK_TARGET_SYSTEM_ST_STM32F746G
  53. default "nommu_k210_defconfig" if ADK_TARGET_SYSTEM_SIPEED_MAIX_BIT
  54. default "loongson3_defconfig" if ADK_TARGET_SYSTEM_QEMU_LOONGARCH
  55. default "defconfig" if ADK_TARGET_SYSTEM_ROCKPI4_PLUS
  56. default "rockpi4_defconfig" if ADK_TARGET_SYSTEM_ROCKPI4_PLUS && ADK_TARGET_LINUX_KERNEL_VERSION_GIT
  57. default "vexpress_defconfig" if ADK_TARGET_SYSTEM_QEMU_ARM_VEXPRESS_A9
  58. default "spitz_defconfig" if ADK_TARGET_SYSTEM_QEMU_ARM_TERRIER
  59. default "spitz_defconfig" if ADK_TARGET_SYSTEM_QEMU_ARM_SPITZ
  60. default "haps_hs5x_defconfig" if ADK_TARGET_CPU_ARC_ARC32
  61. default "haps_arc64_defconfig" if ADK_TARGET_CPU_ARC_ARC64
  62. default "m5208evb_defconfig" if ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
  63. default "default_defconfig" if ADK_TARGET_ARCH_KVX
  64. default ""
  65. config ADK_TARGET_LINUX_KERNEL_CUSTOMCONFIG_PATH
  66. string "Kernel configuration file location"
  67. depends on ADK_TARGET_LINUX_KERNEL_USE_CUSTOMCONFIG
  68. default ".kernelconfig"