[lantiq] remove deadcode from [25072]
[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
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 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.35)),1)
17 define KernelPackage/sound-soc-jz4740-codec
18 SUBMENU:=$(SOUND_MENU)
19 DEPENDS:=kmod-sound-soc-core @TARGET_xburst
20 TITLE:=JZ4740 SoC internal codec support
21 KCONFIG:=CONFIG_SND_SOC_JZ4740_CODEC
22 FILES:=$(LINUX_DIR)/sound/soc/codecs/snd-soc-jz4740-codec.ko
23 AUTOLOAD:=$(call AutoLoad,60,snd-soc-jz4740-codec)
24 endef
25 else
26 define KernelPackage/sound-soc-jz4740-codec
27 SUBMENU:=$(SOUND_MENU)
28 DEPENDS:=kmod-sound-soc-core @TARGET_xburst
29 TITLE:=JZ4740 SoC internal codec support
30 KCONFIG:=CONFIG_SND_SOC_JZCODEC CONFIG_SND_SOC_JZ4740_CODEC
31 FILES:=$(LINUX_DIR)/sound/soc/codecs/snd-soc-jzcodec.ko
32 AUTOLOAD:=$(call AutoLoad,60,snd-soc-jzcodec)
33 endef
34 endif
35
36 define KernelPackage/sound-soc-xburst/default
37 SUBMENU:=$(SOUND_MENU)
38 DEPENDS:=kmod-sound-soc-jz4740 kmod-sound-soc-jz4740-codec @TARGET_xburst_$(if $(4),$(4),$(3))
39 TITLE:=$(1) sound support
40 KCONFIG:=CONFIG_SND_JZ4740_SOC_$(2)
41 FILES:=$(LINUX_DIR)/sound/soc/jz4740/snd-soc-$(3).ko
42 AUTOLOAD:=$(call AutoLoad,65,snd-soc-$(3))
43 endef
44
45 define KernelPackage/sound-soc-qilb60
46 $(call KernelPackage/sound-soc-xburst/default,QI NanoNote,QI_LB60,qi-lb60,qi_lb60)
47 endef
48
49 define KernelPackage/sound-soc-n516
50 $(call KernelPackage/sound-soc-xburst/default,Hanvon N516,N516,n516)
51 endef
52
53 define KernelPackage/sound-soc-n526
54 $(call KernelPackage/sound-soc-xburst/default,Hanvon N526,N526,n526)
55 endef
56
57 $(eval $(call KernelPackage,sound-soc-jz4740))
58 $(eval $(call KernelPackage,sound-soc-jz4740-codec))
59 $(eval $(call KernelPackage,sound-soc-qilb60))
60 $(eval $(call KernelPackage,sound-soc-n516))
61 $(eval $(call KernelPackage,sound-soc-n526))
This page took 0.042777 seconds and 5 git commands to generate.