aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorMichael Büsch <mb@bu3sch.de>2010-10-07 15:35:49 +0000
committerMichael Büsch <mb@bu3sch.de>2010-10-07 15:35:49 +0000
commit226abf88f5e130adc8409bb8253d25ccefc499a8 (patch)
tree8056c5b4022082d0b2db6fb404793c5a38a7b8a7 /package/kernel
parent613a513fe4619dc9c74b6817be7b71e855055e4e (diff)
downloadupstream-226abf88f5e130adc8409bb8253d25ccefc499a8.tar.gz
upstream-226abf88f5e130adc8409bb8253d25ccefc499a8.tar.bz2
upstream-226abf88f5e130adc8409bb8253d25ccefc499a8.zip
Add support for nokia n810 sound
SVN-Revision: 23303
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/modules/sound.mk41
1 files changed, 41 insertions, 0 deletions
diff --git a/package/kernel/modules/sound.mk b/package/kernel/modules/sound.mk
index 7b647238db..da56f25e8b 100644
--- a/package/kernel/modules/sound.mk
+++ b/package/kernel/modules/sound.mk
@@ -146,3 +146,44 @@ define KernelPackage/sound-soc-core
endef
$(eval $(call KernelPackage,sound-soc-core))
+
+
+define KernelPackage/sound-soc-omap
+ TITLE:=OMAP SoC sound support
+ KCONFIG:= \
+ CONFIG_SND_OMAP_SOC
+ FILES:=$(LINUX_DIR)/sound/soc/omap/snd-soc-omap.ko
+ AUTOLOAD:=$(call AutoLoad,60,snd-soc-omap)
+ DEPENDS:=@TARGET_omap24xx +kmod-sound-soc-core
+ $(call AddDepends/sound)
+endef
+
+$(eval $(call KernelPackage,sound-soc-omap))
+
+
+define KernelPackage/sound-soc-omap-mcbsp
+ TITLE:=OMAP SoC MCBSP support
+ KCONFIG:= \
+ CONFIG_SND_OMAP_SOC_MCBSP
+ FILES:=$(LINUX_DIR)/sound/soc/omap/snd-soc-omap-mcbsp.ko
+ AUTOLOAD:=$(call AutoLoad,61,snd-soc-omap-mcbsp)
+ DEPENDS:=@TARGET_omap24xx +kmod-sound-soc-omap
+ $(call AddDepends/sound)
+endef
+
+$(eval $(call KernelPackage,sound-soc-omap-mcbsp))
+
+
+define KernelPackage/sound-soc-n810
+ TITLE:=Nokia n810 SoC sound support
+ KCONFIG:= \
+ CONFIG_SND_OMAP_SOC_N810
+ FILES:= \
+ $(LINUX_DIR)/sound/soc/codecs/snd-soc-tlv320aic3x.ko \
+ $(LINUX_DIR)/sound/soc/omap/snd-soc-n810.ko
+ AUTOLOAD:=$(call AutoLoad,65,snd-soc-tlv320aic3x snd-soc-n810)
+ DEPENDS:=@TARGET_omap24xx +kmod-sound-soc-omap +kmod-sound-soc-omap-mcbsp
+ $(call AddDepends/sound)
+endef
+
+$(eval $(call KernelPackage,sound-soc-n810))