3 SOUND_MENU
:=Sound Support
5 define KernelPackage
/sound-soc-jz4740
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
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
)
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 CONFIG_SND_SOC_JZ4740_CODEC
21 FILES
:=$(LINUX_DIR
)/sound
/soc
/codecs
/snd-soc-jzcodec.ko
22 AUTOLOAD
:=$(call AutoLoad
,60,snd-soc-jzcodec
)
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))
34 define KernelPackage
/sound-soc-qilb60
35 $(call KernelPackage
/sound-soc-xburst
/default
,QI NanoNote
,QI_LB60
,qi-lb60
,qi_lb60
)
38 define KernelPackage
/sound-soc-n516
39 $(call KernelPackage
/sound-soc-xburst
/default
,Hanvon N516
,N516
,n516
)
42 define KernelPackage
/sound-soc-n526
43 $(call KernelPackage
/sound-soc-xburst
/default
,Hanvon N526
,N526
,n526
)
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
))