Config.in.kernelcfg 4.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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_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
  41. default "am335x_phytec_defconfig" if ADK_TARGET_SYSTEM_PHYTEC_WEGA
  42. default "j2_defconfig" if ADK_TARGET_SYSTEM_NUMATO_MIMASV2
  43. default "sunxi_defconfig" if ADK_TARGET_SYSTEM_ORANGE_PI0
  44. default "sunxi_defconfig" if ADK_TARGET_SYSTEM_BANANA_P2_ZERO
  45. default "edosk2674_defconfig" if ADK_TARGET_SYSTEM_HITACHI_EDOSK2674
  46. default "x86_64_defconfig" if ADK_TARGET_SYSTEM_GENERIC_X86_64
  47. default "i386_defconfig" if ADK_TARGET_SYSTEM_GENERIC_X86
  48. default "stm32_defconfig" if ADK_TARGET_SYSTEM_ST_STM32F429
  49. default "stm32_defconfig" if ADK_TARGET_SYSTEM_ST_STM32F769
  50. default "stm32_defconfig" if ADK_TARGET_SYSTEM_ST_STM32F746G
  51. default "nommu_k210_defconfig" if ADK_TARGET_SYSTEM_SIPEED_MAIX_BIT
  52. default "loongson3_defconfig" if ADK_TARGET_SYSTEM_QEMU_LOONGARCH
  53. default "defconfig" if ADK_TARGET_SYSTEM_ROCKPI4_PLUS
  54. default "rockpi4_defconfig" if ADK_TARGET_SYSTEM_ROCKPI4_PLUS && ADK_TARGET_LINUX_KERNEL_VERSION_GIT
  55. default "vexpress_defconfig" if ADK_TARGET_SYSTEM_QEMU_ARM_VEXPRESS_A9
  56. default "spitz_defconfig" if ADK_TARGET_SYSTEM_QEMU_ARM_TERRIER
  57. default "spitz_defconfig" if ADK_TARGET_SYSTEM_QEMU_ARM_SPITZ
  58. default "haps_hs5x_defconfig" if ADK_TARGET_CPU_ARC_ARC32
  59. default "haps_arc64_defconfig" if ADK_TARGET_CPU_ARC_ARC64
  60. default "m5208evb_defconfig" if ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
  61. default "default_defconfig" if ADK_TARGET_ARCH_KVX
  62. default ""
  63. config ADK_TARGET_LINUX_KERNEL_CUSTOMCONFIG_PATH
  64. string "Kernel configuration file location"
  65. depends on ADK_TARGET_LINUX_KERNEL_USE_CUSTOMCONFIG
  66. default ".kernelconfig"