Config.in.kernelcfg 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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_KERNEL_USE_DEFCONFIG if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK && ADK_TARGET_KERNEL_VERSION_GIT
  7. default ADK_TARGET_KERNEL_USE_DEFCONFIG if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG && ADK_TARGET_KERNEL_VERSION_GIT
  8. config ADK_TARGET_KERNEL_USE_MINICONFIG
  9. bool "Use mini.config from OpenADK"
  10. config ADK_TARGET_KERNEL_USE_DEFCONFIG
  11. bool "Use defconfig from Linux kernel"
  12. config ADK_TARGET_KERNEL_USE_CUSTOMCONFIG
  13. bool "Use custom Linux kernel configuration file"
  14. endchoice
  15. config ADK_TARGET_KERNEL_DEFCONFIG
  16. string "Defconfig name"
  17. depends on ADK_TARGET_KERNEL_USE_DEFCONFIG
  18. default "bcmrpi_defconfig" if ADK_TARGET_SYSTEM_RASPBERRY_PI
  19. default "bcmrpi_defconfig" if ADK_TARGET_SYSTEM_RASPBERRY_PI0
  20. default "bcm2709_defconfig" if ADK_TARGET_SYSTEM_RASPBERRY_PI2
  21. default "bcm2709_defconfig" if ADK_TARGET_SYSTEM_RASPBERRY_PI3
  22. default "bcmrpi3_defconfig" if ADK_TARGET_SYSTEM_RASPBERRY_PI3_64
  23. default "twr-k70f120m_defconfig" if ADK_TARGET_SYSTEM_KINETIS_K70
  24. default "imx_v7_cbi_hb_defconfig" if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  25. default "mvebu_defconfig" if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
  26. default "nsim_700_defconfig" if ADK_TARGET_SYSTEM_NSIM_ARCV1
  27. default "nsim_hs_defconfig" if ADK_TARGET_SYSTEM_NSIM_ARCV2
  28. default "10m50_defconfig" if ADK_TARGET_SYSTEM_QEMU_NIOS2
  29. default "orca_defconfig" if ADK_TARGET_SYSTEM_ANDES_AG101P
  30. default "bb.org_defconfig" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  31. default "j2_defconfig" if ADK_TARGET_SYSTEM_NUMATO_MIMASV2
  32. default "sunxi_defconfig" if ADK_TARGET_SYSTEM_ORANGE_PI0
  33. default ""
  34. config ADK_TARGET_KERNEL_CUSTOMCONFIG_PATH
  35. string "Kernel configuration file location"
  36. depends on ADK_TARGET_KERNEL_USE_CUSTOMCONFIG
  37. default ".kernelconfig"