[at91] Add support for u-boot
[openwrt.git] / target / linux / xburst / modules.mk
1
2
3 SOUND_MENU:=Sound Support
4
5 define 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.ko \
12 $(LINUX_DIR)/sound/soc/jz4740/snd-soc-jz4740-i2s.ko
13 AUTOLOAD:=$(call AutoLoad,60,snd-soc-jz4740 snd-soc-jz4740-i2s)
14 endef
15
16 define 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.ko
22 AUTOLOAD:=$(call AutoLoad,60,snd-soc-jzcodec)
23 endef
24
25 define 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).ko
31 AUTOLOAD:=$(call AutoLoad,65,snd-soc-$(3))
32 endef
33
34 define KernelPackage/sound-soc-qilb60
35 $(call KernelPackage/sound-soc-xburst/default,QI NanoNote,QI_LB60,qi-lb60,qi_lb60)
36 endef
37
38 define KernelPackage/sound-soc-n516
39 $(call KernelPackage/sound-soc-xburst/default,Hanvon N516,N516,n516)
40 endef
41
42 define KernelPackage/sound-soc-n526
43 $(call KernelPackage/sound-soc-xburst/default,Hanvon N526,N526,n526)
44 endef
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))
This page took 0.043107 seconds and 5 git commands to generate.