kernel: add sound-soc-imx
authorLuka Perkov <luka@openwrt.org>
Mon, 15 Jul 2013 23:18:33 +0000 (23:18 +0000)
committerLuka Perkov <luka@openwrt.org>
Mon, 15 Jul 2013 23:18:33 +0000 (23:18 +0000)
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 37359

package/kernel/linux/modules/sound.mk

index 494394603bedf21f5ba0ff80dc6e7c0a98ebe242..74de21f2ad670ff22d4e9f0a20fc50002ff6ac58 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2006-2012 OpenWrt.org
+# Copyright (C) 2006-2013 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -180,6 +180,27 @@ endef
 $(eval $(call KernelPackage,sound-soc-ac97))
 
 
+define KernelPackage/sound-soc-imx
+  TITLE:=IMX SoC support
+  KCONFIG:=\
+               CONFIG_SND_IMX_SOC \
+               CONFIG_SND_SOC_IMX_AUDMUX \
+               CONFIG_SND_SOC_IMX_PCM
+  FILES:= \
+       $(LINUX_DIR)/sound/soc/fsl/snd-soc-imx-audmux.ko \
+       $(LINUX_DIR)/sound/soc/fsl/snd-soc-imx-pcm.ko
+  AUTOLOAD:=$(call AutoLoad,56,snd-soc-imx)
+  DEPENDS:=@TARGET_imx6 +kmod-sound-soc-core
+  $(call AddDepends/sound)
+endef
+
+define KernelPackage/sound-soc-imx/description
+ support for i.MX6 Platform sound (ssi/audmux/pcm)
+endef
+
+$(eval $(call KernelPackage,sound-soc-imx))
+
+
 define KernelPackage/sound-soc-gw_avila
   TITLE:=Gateworks Avila SoC sound support
   KCONFIG:= \