Config.in.kernelcfg 2.6 KB

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