2010-03-11 02:00:59 +00:00
|
|
|
|
|
|
|
|
|
|
|
SOUND_MENU:=Sound Support
|
|
|
|
|
|
|
|
define KernelPackage/sound-soc-jz4740
|
|
|
|
SUBMENU:=$(SOUND_MENU)
|
|
|
|
DEPENDS:=kmod-sound-soc-core @TARGET_xburst
|
|
|
|
TITLE:=JZ4740 SoC sound support
|
2010-08-04 13:31:45 +00:00
|
|
|
KCONFIG:=CONFIG_SND_JZ4740_SOC CONFIG_SND_JZ4740_SOC_I2S
|
2010-03-13 14:45:57 +00:00
|
|
|
FILES:= \
|
2010-07-12 14:06:13 +00:00
|
|
|
$(LINUX_DIR)/sound/soc/jz4740/snd-soc-jz4740.ko \
|
|
|
|
$(LINUX_DIR)/sound/soc/jz4740/snd-soc-jz4740-i2s.ko
|
2010-03-26 18:10:09 +00:00
|
|
|
AUTOLOAD:=$(call AutoLoad,60,snd-soc-jz4740 snd-soc-jz4740-i2s)
|
2010-03-11 02:00:59 +00:00
|
|
|
endef
|
|
|
|
|
2010-08-04 13:31:45 +00:00
|
|
|
define KernelPackage/sound-soc-jz4740-codec
|
|
|
|
SUBMENU:=$(SOUND_MENU)
|
|
|
|
DEPENDS:=kmod-sound-soc-core @TARGET_xburst
|
|
|
|
TITLE:=JZ4740 SoC internal codec support
|
|
|
|
KCONFIG:=CONFIG_SND_SOC_JZ4740_CODEC
|
|
|
|
FILES:=$(LINUX_DIR)/sound/soc/codecs/snd-soc-jz4740-codec.ko
|
|
|
|
AUTOLOAD:=$(call AutoLoad,60,snd-soc-jz4740-codec)
|
|
|
|
endef
|
2010-03-11 02:00:59 +00:00
|
|
|
|
|
|
|
define KernelPackage/sound-soc-xburst/default
|
|
|
|
SUBMENU:=$(SOUND_MENU)
|
2010-08-04 13:31:45 +00:00
|
|
|
DEPENDS:=kmod-sound-soc-jz4740 kmod-sound-soc-jz4740-codec @TARGET_xburst_$(if $(4),$(4),$(3))
|
2010-03-11 02:00:59 +00:00
|
|
|
TITLE:=$(1) sound support
|
|
|
|
KCONFIG:=CONFIG_SND_JZ4740_SOC_$(2)
|
2010-07-12 14:06:13 +00:00
|
|
|
FILES:=$(LINUX_DIR)/sound/soc/jz4740/snd-soc-$(3).ko
|
2010-03-26 18:10:09 +00:00
|
|
|
AUTOLOAD:=$(call AutoLoad,65,snd-soc-$(3))
|
2010-03-11 02:00:59 +00:00
|
|
|
endef
|
|
|
|
|
2010-05-09 22:24:13 +00:00
|
|
|
define KernelPackage/sound-soc-qilb60
|
2010-03-11 02:00:59 +00:00
|
|
|
$(call KernelPackage/sound-soc-xburst/default,QI NanoNote,QI_LB60,qi-lb60,qi_lb60)
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,sound-soc-jz4740))
|
2010-08-04 13:31:45 +00:00
|
|
|
$(eval $(call KernelPackage,sound-soc-jz4740-codec))
|
2010-05-09 22:24:13 +00:00
|
|
|
$(eval $(call KernelPackage,sound-soc-qilb60))
|