[openwrt/openwrt] kernel: add a kmod package for the SoC S/PDIF codec
LEDE Commits
lede-commits at lists.infradead.org
Sun Oct 11 14:27:42 EDT 2020
hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/111895aa19eb6e4abf37c7a0882d82b849d52f50
commit 111895aa19eb6e4abf37c7a0882d82b849d52f50
Author: Andre Heider <a.heider at gmail.com>
AuthorDate: Tue Oct 8 21:15:44 2019 +0200
kernel: add a kmod package for the SoC S/PDIF codec
Size of the modules for a Cortex A7 build:
43920 linux-5.4.66/sound/soc/codecs/snd-soc-spdif-rx.ko
44044 linux-5.4.66/sound/soc/codecs/snd-soc-spdif-tx.ko
Signed-off-by: Andre Heider <a.heider at gmail.com>
---
package/kernel/linux/modules/sound.mk | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/package/kernel/linux/modules/sound.mk b/package/kernel/linux/modules/sound.mk
index faee6043dc..692ede30ee 100644
--- a/package/kernel/linux/modules/sound.mk
+++ b/package/kernel/linux/modules/sound.mk
@@ -254,6 +254,20 @@ endef
$(eval $(call KernelPackage,sound-soc-imx-sgtl5000))
+define KernelPackage/sound-soc-spdif
+ TITLE:=SoC S/PDIF codec support
+ KCONFIG:=CONFIG_SND_SOC_SPDIF
+ FILES:= \
+ $(LINUX_DIR)/sound/soc/codecs/snd-soc-spdif-tx.ko \
+ $(LINUX_DIR)/sound/soc/codecs/snd-soc-spdif-rx.ko
+ DEPENDS:=+kmod-sound-soc-core
+ AUTOLOAD:=$(call AutoProbe,snd-soc-spdif-tx snd-soc-spdif-rx)
+ $(call AddDepends/sound)
+endef
+
+$(eval $(call KernelPackage,sound-soc-spdif))
+
+
define KernelPackage/pcspkr
DEPENDS:=@TARGET_x86 +kmod-input-core
TITLE:=PC speaker support
More information about the lede-commits
mailing list