source: trunk/target/linux/xburst/modules.mk @ 20132

Last change on this file since 20132 was 20132, checked in by lars, 6 years ago

[xburst] Add kernel sound packages

File size: 1.7 KB
Line 
1
2
3SOUND_MENU:=Sound Support
4
5define KernelPackage/sound-soc-jz4740
6  SUBMENU:=$(SOUND_MENU)
7  DEPENDS:=kmod-sound-soc-core @TARGET_xburst
8  TITLE:=JZ4740 SoC sound support
9  KCONFIG:=CONFIG_SND_JZ4740_SOC CONFIG_SND_JZ4740_SOC_I2S @TARGET_xburst
10  FILES:=$(LINUX_DIR)/sound/soc/jz4740/snd-soc-jz4740.$(LINUX_KMOD_SUFFIX) \
11  $(LINUX_DIR)/sound/soc/jz4740/snd-soc-jz4740-i2s.$(LINUX_KMOD_SUFFIX)
12  AUTOLOAD:=$(call AutoLoad,40,snd-soc-jz4740 snd-soc-jz4740-pcm)
13endef
14
15define KernelPackage/sound-soc-jzcodec
16  SUBMENU:=$(SOUND_MENU)
17  DEPENDS:=kmod-sound-soc-core @TARGET_xburst
18  TITLE:=JZ4740 SoC internal codec support
19  KCONFIG:=CONFIG_SND_SOC_JZCODEC
20  FILES:=$(LINUX_DIR)/sound/soc/codecs/snd-soc-jzcodec.$(LINUX_KMOD_SUFFIX)
21  AUTOLOAD:=$(call AutoLoad,40,snd-soc-jzcodec)
22endef
23
24define KernelPackage/sound-soc-xburst/default
25  SUBMENU:=$(SOUND_MENU)
26  DEPENDS:=kmod-sound-soc-jz4740 kmod-sound-soc-jzcodec @TARGET_xburst_$(if $(4),$(4),$(3))
27  TITLE:=$(1) sound support
28  KCONFIG:=CONFIG_SND_JZ4740_SOC_$(2)
29  FILES:=$(LINUX_DIR)/sound/soc/jz4740/snd-soc-$(3).$(LINUX_KMOD_SUFFIX)
30  AUTOLOAD:=$(call AutoLoad,45,snd-soc-$(3))
31endef
32
33define KernelPackage/sound-soc-qi_lb60
34$(call KernelPackage/sound-soc-xburst/default,QI NanoNote,QI_LB60,qi-lb60,qi_lb60)
35endef
36
37define KernelPackage/sound-soc-n516
38$(call KernelPackage/sound-soc-xburst/default,Hanvon N516,N516,n516)
39endef
40
41define KernelPackage/sound-soc-n526
42$(call KernelPackage/sound-soc-xburst/default,Hanvon N526,N526,n526)
43endef
44
45$(eval $(call KernelPackage,sound-soc-jz4740))
46$(eval $(call KernelPackage,sound-soc-jzcodec))
47$(eval $(call KernelPackage,sound-soc-qi_lb60))
48$(eval $(call KernelPackage,sound-soc-n516))
49$(eval $(call KernelPackage,sound-soc-n526))
Note: See TracBrowser for help on using the repository browser.