Config.in.addons 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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 "GPU memory size"
  5. depends on ADK_TARGET_BOARD_BCM28XX
  6. default ADK_TARGET_GPU_MEM_256 if ADK_PACKAGE_KODI
  7. config ADK_TARGET_GPU_MEM_16
  8. bool "16"
  9. help
  10. use minimal 16 MB.
  11. config ADK_TARGET_GPU_MEM_64
  12. bool "64"
  13. help
  14. use 64 MB.
  15. config ADK_TARGET_GPU_MEM_128
  16. bool "128"
  17. help
  18. use 128 MB.
  19. config ADK_TARGET_GPU_MEM_256
  20. bool "256"
  21. help
  22. use 256 MB.
  23. endchoice
  24. config ADK_TARGET_GPU_MEM
  25. int
  26. default 16 if ADK_TARGET_GPU_MEM_16
  27. default 64 if ADK_TARGET_GPU_MEM_64
  28. default 128 if ADK_TARGET_GPU_MEM_128
  29. default 256 if ADK_TARGET_GPU_MEM_256
  30. depends on ADK_TARGET_BOARD_BCM28XX
  31. choice
  32. prompt "Serial or Bluetooth"
  33. depends on ADK_TARGET_OS_LINUX \
  34. && ( ADK_TARGET_SYSTEM_RASPBERRY_PI3 \
  35. || ADK_TARGET_SYSTEM_RASPBERRY_PI3P \
  36. || ADK_TARGET_SYSTEM_RASPBERRY_PI3_64 \
  37. || ADK_TARGET_SYSTEM_RASPBERRY_PI3P_64 )
  38. config ADK_TARGET_HARDWARE_RPI3_SERIAL
  39. bool "serial"
  40. select ADK_TARGET_HARDWARE_RPI3_NO_BT
  41. select ADK_LINUX_KERNEL_SERIAL_AMBA_PL011 if ADK_TARGET_OS_LINUX
  42. config ADK_TARGET_HARDWARE_RPI3_BT
  43. bool "bluetooth"
  44. select ADK_LINUX_KERNEL_BT_HCIUART_BCM m if ADK_TARGET_OS_LINUX
  45. config ADK_TARGET_HARDWARE_RPI3_NONE
  46. bool "none"
  47. endchoice
  48. config ADK_TARGET_HARDWARE_RPI3_NO_BT
  49. bool
  50. config ADK_TARGET_HARDWARE_RPI3_NO_WIFI
  51. bool "Disable wifi"
  52. depends on ADK_TARGET_OS_LINUX \
  53. && ( ADK_TARGET_SYSTEM_RASPBERRY_PI3 \
  54. || ADK_TARGET_SYSTEM_RASPBERRY_PI3P \
  55. || ADK_TARGET_SYSTEM_RASPBERRY_PI3_64 \
  56. || ADK_TARGET_SYSTEM_RASPBERRY_PI3P_64 )
  57. choice
  58. prompt "Audio Board Addon"
  59. depends on ADK_TARGET_OS_LINUX && ADK_TARGET_BOARD_BCM28XX
  60. config ADK_TARGET_HARDWARE_NONE
  61. bool "No audio addon board"
  62. config ADK_TARGET_HARDWARE_HIFIBERRY_AMP
  63. bool "Hifiberry AMP"
  64. select ADK_LINUX_KERNEL_SND_BCM2708_SOC_HIFIBERRY_AMP m if ADK_TARGET_OS_LINUX
  65. config ADK_TARGET_HARDWARE_HIFIBERRY_DAC
  66. bool "Hifiberry DAC"
  67. select ADK_LINUX_KERNEL_SND_BCM2708_SOC_HIFIBERRY_DAC m if ADK_TARGET_OS_LINUX
  68. config ADK_TARGET_HARDWARE_HIFIBERRY_DACPLUS
  69. bool "Hifiberry DACPLUS"
  70. select ADK_LINUX_KERNEL_SND_BCM2708_SOC_HIFIBERRY_DACPLUS m if ADK_TARGET_OS_LINUX
  71. config ADK_TARGET_HARDWARE_HIFIBERRY_DIGI
  72. bool "Hifiberry DIGI"
  73. select ADK_LINUX_KERNEL_SND_BCM2708_SOC_HIFIBERRY_DIGI m if ADK_TARGET_OS_LINUX
  74. config ADK_TARGET_HARDWARE_RPI_DAC
  75. bool "RPI-DAC"
  76. select ADK_LINUX_KERNEL_SND_BCM2708_SOC_RPI_DAC m if ADK_TARGET_OS_LINUX
  77. config ADK_TARGET_HARDWARE_IQAUDIO_DAC
  78. bool "IQAudio-DAC"
  79. select ADK_LINUX_KERNEL_SND_BCM2708_SOC_IQAUDIO_DAC m if ADK_TARGET_OS_LINUX
  80. config ADK_TARGET_HARDWARE_RPI_PROTO
  81. bool "Rpi-Proto"
  82. select ADK_LINUX_KERNEL_SND_BCM2708_SOC_RPI_PROTO m if ADK_TARGET_OS_LINUX
  83. endchoice