package/kernel/sound: Add Gateworks Avila Sound SoC package
authorFelix Fietkau <nbd@openwrt.org>
Wed, 10 Oct 2012 11:38:54 +0000 (11:38 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 10 Oct 2012 11:38:54 +0000 (11:38 +0000)
This package includes the audio drivers for Avila SoC Audio

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 33682

package/kernel/modules/sound.mk

index f054d870cb0987a5ecc937fcb8a7a2a84bb3785a..4ccdc8b80626733d0e15e7fb10fc0f29dabe3926 100644 (file)
@@ -182,3 +182,22 @@ define KernelPackage/sound-soc-ac97
 endef
 
 $(eval $(call KernelPackage,sound-soc-ac97))
+
+
+define KernelPackage/sound-soc-gw_avila
+  TITLE:=Gateworks Avila SoC sound support
+  KCONFIG:= \
+       CONFIG_SND_GW_AVILA_SOC \
+       CONFIG_SND_GW_AVILA_SOC_PCM \
+       CONFIG_SND_GW_AVILA_SOC_HSS
+  FILES:= \
+       $(LINUX_DIR)/sound/soc/codecs/snd-soc-tlv320aic3x.ko \
+       $(LINUX_DIR)/sound/soc/gw-avila/snd-soc-gw-avila.ko \
+       $(LINUX_DIR)/sound/soc/gw-avila/snd-soc-gw-avila-pcm.ko \
+       $(LINUX_DIR)/sound/soc/gw-avila/snd-soc-gw-avila-hss.ko
+  AUTOLOAD:=$(call AutoLoad,65,snd-soc-tlv320aic3x snd-soc-gw-avila snd-soc-gw-avila-pcm snd-soc-gw-avila-hss)
+  DEPENDS:=@TARGET_ixp4xx +kmod-sound-soc-core
+  $(call AddDepends/sound)
+endef
+
+$(eval $(call KernelPackage,sound-soc-gw_avila))