Config.in.kernelcfg 4.1 KB

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