ソースを参照

sunxi: add audio module for 4.1

Signed-off-by: Zoltan HERPAI <[email protected]>

SVN-Revision: 46704
Zoltan Herpai 10 年 前
コミット
79e1aa2ac3
1 ファイル変更17 行追加0 行削除
  1. 17 0
      target/linux/sunxi/modules.mk

+ 17 - 0
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))