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
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
)
15 define 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
)
24 define 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))
33 define KernelPackage
/sound-soc-qi_lb60
34 $(call KernelPackage
/sound-soc-xburst
/default
,QI NanoNote
,QI_LB60
,qi-lb60
,qi_lb60
)
37 define KernelPackage
/sound-soc-n516
38 $(call KernelPackage
/sound-soc-xburst
/default
,Hanvon N516
,N516
,n516
)
41 define KernelPackage
/sound-soc-n526
42 $(call KernelPackage
/sound-soc-xburst
/default
,Hanvon N526
,N526
,n526
)
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
))