1
0

Config.in.addons 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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 || ADK_TARGET_OS_WALDUX ) \
  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. select ADK_WALDUX_KERNEL_SERIAL_AMBA_PL011 if ADK_TARGET_OS_WALDUX
  43. config ADK_TARGET_HARDWARE_RPI3_BT
  44. bool "bluetooth"
  45. select ADK_LINUX_KERNEL_BT_HCIUART_BCM m if ADK_TARGET_OS_LINUX
  46. select ADK_WALDUX_KERNEL_BT_HCIUART_BCM m if ADK_TARGET_OS_WALDUX
  47. config ADK_TARGET_HARDWARE_RPI3_NONE
  48. bool "none"
  49. endchoice
  50. config ADK_TARGET_HARDWARE_RPI3_NO_BT
  51. bool
  52. config ADK_TARGET_HARDWARE_RPI3_NO_WIFI
  53. bool "Disable wifi"
  54. depends on ( ADK_TARGET_OS_LINUX || ADK_TARGET_OS_WALDUX ) \
  55. && ( ADK_TARGET_SYSTEM_RASPBERRY_PI3 \
  56. || ADK_TARGET_SYSTEM_RASPBERRY_PI3P \
  57. || ADK_TARGET_SYSTEM_RASPBERRY_PI3_64 \
  58. || ADK_TARGET_SYSTEM_RASPBERRY_PI3P_64 )
  59. choice
  60. prompt "Audio Board Addon"
  61. depends on (ADK_TARGET_OS_LINUX || ADK_TARGET_OS_WALDUX) && ADK_TARGET_BOARD_BCM28XX
  62. config ADK_TARGET_HARDWARE_NONE
  63. bool "No audio addon board"
  64. config ADK_TARGET_HARDWARE_HIFIBERRY_AMP
  65. bool "Hifiberry AMP"
  66. select ADK_LINUX_KERNEL_SND_BCM2708_SOC_HIFIBERRY_AMP m if ADK_TARGET_OS_LINUX
  67. select ADK_WALDUX_KERNEL_SND_BCM2708_SOC_HIFIBERRY_AMP m if ADK_TARGET_OS_WALDUX
  68. config ADK_TARGET_HARDWARE_HIFIBERRY_DAC
  69. bool "Hifiberry DAC"
  70. select ADK_LINUX_KERNEL_SND_BCM2708_SOC_HIFIBERRY_DAC m if ADK_TARGET_OS_LINUX
  71. select ADK_WALDUX_KERNEL_SND_BCM2708_SOC_HIFIBERRY_DAC m if ADK_TARGET_OS_WALDUX
  72. config ADK_TARGET_HARDWARE_HIFIBERRY_DACPLUS
  73. bool "Hifiberry DACPLUS"
  74. select ADK_LINUX_KERNEL_SND_BCM2708_SOC_HIFIBERRY_DACPLUS m if ADK_TARGET_OS_LINUX
  75. select ADK_WALDUX_KERNEL_SND_BCM2708_SOC_HIFIBERRY_DACPLUS m if ADK_TARGET_OS_WALDUX
  76. config ADK_TARGET_HARDWARE_HIFIBERRY_DIGI
  77. bool "Hifiberry DIGI"
  78. select ADK_LINUX_KERNEL_SND_BCM2708_SOC_HIFIBERRY_DIGI m if ADK_TARGET_OS_LINUX
  79. select ADK_WALDUX_KERNEL_SND_BCM2708_SOC_HIFIBERRY_DIGI m if ADK_TARGET_OS_WALDUX
  80. config ADK_TARGET_HARDWARE_RPI_DAC
  81. bool "RPI-DAC"
  82. select ADK_LINUX_KERNEL_SND_BCM2708_SOC_RPI_DAC m if ADK_TARGET_OS_LINUX
  83. select ADK_WALDUX_KERNEL_SND_BCM2708_SOC_RPI_DAC m if ADK_TARGET_OS_WALDUX
  84. config ADK_TARGET_HARDWARE_IQAUDIO_DAC
  85. bool "IQAudio-DAC"
  86. select ADK_LINUX_KERNEL_SND_BCM2708_SOC_IQAUDIO_DAC m if ADK_TARGET_OS_LINUX
  87. select ADK_WALDUX_KERNEL_SND_BCM2708_SOC_IQAUDIO_DAC m if ADK_TARGET_OS_WALDUX
  88. config ADK_TARGET_HARDWARE_RPI_PROTO
  89. bool "Rpi-Proto"
  90. select ADK_LINUX_KERNEL_SND_BCM2708_SOC_RPI_PROTO m if ADK_TARGET_OS_LINUX
  91. select ADK_WALDUX_KERNEL_SND_BCM2708_SOC_RPI_PROTO m if ADK_TARGET_OS_WALDUX
  92. endchoice