From f8dac2f4b92d9058b891b53c6b744861f726b54b Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 14 Mar 2017 20:34:03 +0100 Subject: implement kernel symbol neutral method to select audio addon boards --- target/config/Config.in.addons | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 target/config/Config.in.addons (limited to 'target/config') 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 -- cgit v1.2.3