summaryrefslogtreecommitdiff
path: root/target/config
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-03-14 20:34:03 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2017-03-14 20:34:03 +0100
commitf8dac2f4b92d9058b891b53c6b744861f726b54b (patch)
tree975e1f407ac5ce451350a57b4fa8ca2c86e3eac3 /target/config
parent67ee55eaa0d1807e80f1161baf9dedc76b70771a (diff)
implement kernel symbol neutral method to select audio addon boards
Diffstat (limited to 'target/config')
-rw-r--r--target/config/Config.in.addons35
1 files changed, 35 insertions, 0 deletions
diff --git a/target/config/Config.in.addons b/target/config/Config.in.addons
new file mode 100644
index 000000000..7f68968f2
--- /dev/null
+++ b/target/config/Config.in.addons
@@ -0,0 +1,35 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+choice
+prompt "Audio Board"
+depends on ADK_TARGET_OS_LINUX && ADK_TARGET_BOARD_BCM28XX
+
+config ADK_TARGET_HARDWARE_NONE
+ bool "No audio addon board"
+
+config ADK_TARGET_HARDWARE_HIFIBERRY_AMP
+ bool "Hifiberry AMP"
+ select ADK_KERNEL_SND_BCM2708_SOC_HIFIBERRY_AMP
+
+config ADK_TARGET_HARDWARE_HIFIBERRY_DAC
+ bool "Hifiberry DAC"
+ select ADK_KERNEL_SND_BCM2708_SOC_HIFIBERRY_DAC
+
+config ADK_TARGET_HARDWARE_HIFIBERRY_DIGI
+ bool "Hifiberry DIGI"
+ select ADK_KERNEL_SND_BCM2708_SOC_HIFIBERRY_DIGI
+
+config ADK_TARGET_HARDWARE_RPI_DAC
+ bool "RPI-DAC"
+ select ADK_KERNEL_SND_BCM2708_SOC_RPI_DAC
+
+config ADK_TARGET_HARDWARE_IQAUDIO_DAC
+ bool "IQAudio-DAC"
+ select ADK_KERNEL_SND_BCM2708_SOC_IQAUDIO_DAC
+
+config ADK_TARGET_HARDWARE_RPI_PROTO
+ bool "Rpi-Proto"
+ select ADK_KERNEL_SND_BCM2708_SOC_RPI_PROTO
+
+endchoice