Config.in.addons 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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 "Optional hardware configuration"
  5. depends on ADK_TARGET_OS_LINUX || ADK_TARGET_OS_WALDUX \
  6. && ( ADK_TARGET_SYSTEM_RASPBERRY_PI3 \
  7. || ADK_TARGET_SYSTEM_RASPBERRY_PI3P \
  8. || ADK_TARGET_SYSTEM_RASPBERRY_PI3_64 \
  9. || ADK_TARGET_SYSTEM_RASPBERRY_PI3P_64 )
  10. config ADK_TARGET_HARDWARE_RPI3_SERIAL
  11. bool "enable serial"
  12. select ADK_LINUX_KERNEL_SERIAL_AMBA_PL011 if ADK_TARGET_OS_LINUX
  13. select ADK_WALDUX_KERNEL_SERIAL_AMBA_PL011 if ADK_TARGET_OS_WALDUX
  14. config ADK_TARGET_HARDWARE_RPI3_BT
  15. bool "enable bluetooth"
  16. select ADK_LINUX_KERNEL_BT_HCIUART_BCM m if ADK_TARGET_OS_LINUX
  17. select ADK_WALDUX_KERNEL_BT_HCIUART_BCM m if ADK_TARGET_OS_WALDUX
  18. config ADK_TARGET_HARDWARE_RPI3_NONE
  19. bool "disable serial and bluetooth"
  20. endchoice
  21. choice
  22. prompt "Audio Board"
  23. depends on ADK_TARGET_OS_LINUX || ADK_TARGET_OS_WALDUX && ADK_TARGET_BOARD_BCM28XX
  24. config ADK_TARGET_HARDWARE_NONE
  25. bool "No audio addon board"
  26. config ADK_TARGET_HARDWARE_HIFIBERRY_AMP
  27. bool "Hifiberry AMP"
  28. select ADK_LINUX_KERNEL_SND_BCM2708_SOC_HIFIBERRY_AMP m if ADK_TARGET_OS_LINUX
  29. select ADK_WALDUX_KERNEL_SND_BCM2708_SOC_HIFIBERRY_AMP m if ADK_TARGET_OS_WALDUX
  30. config ADK_TARGET_HARDWARE_HIFIBERRY_DAC
  31. bool "Hifiberry DAC"
  32. select ADK_LINUX_KERNEL_SND_BCM2708_SOC_HIFIBERRY_DAC m if ADK_TARGET_OS_LINUX
  33. select ADK_WALDUX_KERNEL_SND_BCM2708_SOC_HIFIBERRY_DAC m if ADK_TARGET_OS_WALDUX
  34. config ADK_TARGET_HARDWARE_HIFIBERRY_DACPLUS
  35. bool "Hifiberry DACPLUS"
  36. select ADK_LINUX_KERNEL_SND_BCM2708_SOC_HIFIBERRY_DACPLUS m if ADK_TARGET_OS_LINUX
  37. select ADK_WALDUX_KERNEL_SND_BCM2708_SOC_HIFIBERRY_DACPLUS m if ADK_TARGET_OS_WALDUX
  38. config ADK_TARGET_HARDWARE_HIFIBERRY_DIGI
  39. bool "Hifiberry DIGI"
  40. select ADK_LINUX_KERNEL_SND_BCM2708_SOC_HIFIBERRY_DIGI m if ADK_TARGET_OS_LINUX
  41. select ADK_WALDUX_KERNEL_SND_BCM2708_SOC_HIFIBERRY_DIGI m if ADK_TARGET_OS_WALDUX
  42. config ADK_TARGET_HARDWARE_RPI_DAC
  43. bool "RPI-DAC"
  44. select ADK_LINUX_KERNEL_SND_BCM2708_SOC_RPI_DAC m if ADK_TARGET_OS_LINUX
  45. select ADK_WALDUX_KERNEL_SND_BCM2708_SOC_RPI_DAC m if ADK_TARGET_OS_WALDUX
  46. config ADK_TARGET_HARDWARE_IQAUDIO_DAC
  47. bool "IQAudio-DAC"
  48. select ADK_LINUX_KERNEL_SND_BCM2708_SOC_IQAUDIO_DAC m if ADK_TARGET_OS_LINUX
  49. select ADK_WALDUX_KERNEL_SND_BCM2708_SOC_IQAUDIO_DAC m if ADK_TARGET_OS_WALDUX
  50. config ADK_TARGET_HARDWARE_RPI_PROTO
  51. bool "Rpi-Proto"
  52. select ADK_LINUX_KERNEL_SND_BCM2708_SOC_RPI_PROTO m if ADK_TARGET_OS_LINUX
  53. select ADK_WALDUX_KERNEL_SND_BCM2708_SOC_RPI_PROTO m if ADK_TARGET_OS_WALDUX
  54. endchoice