From 9a26b6d22b69422471acbcafd7b61d2bf179fb34 Mon Sep 17 00:00:00 2001 From: luka Date: Mon, 15 Jul 2013 23:18:33 +0000 Subject: [PATCH] kernel: add sound-soc-imx Signed-off-by: Tim Harvey git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37359 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/linux/modules/sound.mk | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/sound.mk b/package/kernel/linux/modules/sound.mk index 494394603b..74de21f2ad 100644 --- a/package/kernel/linux/modules/sound.mk +++ b/package/kernel/linux/modules/sound.mk @@ -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:= \ -- 2.11.0