aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorZoltan Herpai <wigyori@uid0.hu>2015-08-21 13:16:11 +0000
committerZoltan Herpai <wigyori@uid0.hu>2015-08-21 13:16:11 +0000
commit79e1aa2ac35c6e16c73f4b4f869f1544b62c47ba (patch)
treebe18b3380d7765ccab29fec9b6b635ccfc7adb07 /target
parented1a7a2deb1da396ecb9295d2ab8392ca27050b8 (diff)
downloadupstream-79e1aa2ac35c6e16c73f4b4f869f1544b62c47ba.tar.gz
upstream-79e1aa2ac35c6e16c73f4b4f869f1544b62c47ba.tar.bz2
upstream-79e1aa2ac35c6e16c73f4b4f869f1544b62c47ba.zip
sunxi: add audio module for 4.1
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 46704
Diffstat (limited to 'target')
-rw-r--r--target/linux/sunxi/modules.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/target/linux/sunxi/modules.mk b/target/linux/sunxi/modules.mk
index 0981fe553f..3e8f4ba71a 100644
--- a/target/linux/sunxi/modules.mk
+++ b/target/linux/sunxi/modules.mk
@@ -100,3 +100,20 @@ endef
$(eval $(call KernelPackage,wdt-sunxi))
+
+define KernelPackage/sound-soc-sunxi
+ TITLE:=AllWinner built-in SoC sound support
+ KCONFIG:= \
+ CONFIG_SND_SUNXI_SOC_CODEC
+ FILES:= \
+ $(LINUX_DIR)/sound/soc/sunxi/sunxi-codec.ko
+ AUTOLOAD:=$(call AutoLoad,65,sunxi-codec)
+ DEPENDS:=@TARGET_sunxi +kmod-sound-soc-core @LINUX_4_1
+ $(call AddDepends/sound)
+endef
+
+define KernelPackage/sound-soc-sunxi/description
+ Kernel support for AllWinner built-in SoC audio
+endef
+
+$(eval $(call KernelPackage,sound-soc-sunxi))