source: branches/backfire/target/linux/xburst/modules.mk @ 21435

Last change on this file since 21435 was 21435, checked in by mirko, 7 years ago

merge over commit 21412 ("sound-soc-qi_lb60: rename package as underscores are not allowed by opkg")

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