Date:2010-08-04 15:31:45 (13 years 7 months ago)
Author:lars
Commit:84d0faceba9c645acb5a1d865a897e6c649b6e4c
Message:[xburst] Adjust codec driver module name for 2.6.35

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22483 3c298f89-4303-0410-b956-a3cf2f4a3e73
Files: target/linux/xburst/config-2.6.35 (1 diff)
target/linux/xburst/modules.mk (3 diffs)
target/linux/xburst/n516/target.mk (1 diff)
target/linux/xburst/n526/target.mk (1 diff)
target/linux/xburst/qi_lb60/target.mk (1 diff)

Change Details

target/linux/xburst/config-2.6.35
295295# CONFIG_SIBYTE_SENTOSA is not set
296296# CONFIG_SIBYTE_SWARM is not set
297297# CONFIG_SND_SOC_ALL_CODECS is not set
298# CONFIG_SND_SOC_JZCODEC is not set
299298# CONFIG_SND_SOC_JZ4740 is not set
300299# CONFIG_SND_JZ4740_SOC_N516 is not set
301300# CONFIG_SND_JZ4740_SOC_N526 is not set
target/linux/xburst/modules.mk
66  SUBMENU:=$(SOUND_MENU)
77  DEPENDS:=kmod-sound-soc-core @TARGET_xburst
88  TITLE:=JZ4740 SoC sound support
9  KCONFIG:=CONFIG_SND_JZ4740_SOC CONFIG_SND_JZ4740_SOC_I2S @TARGET_xburst
9  KCONFIG:=CONFIG_SND_JZ4740_SOC CONFIG_SND_JZ4740_SOC_I2S
1010  FILES:= \
1111    $(LINUX_DIR)/sound/soc/jz4740/snd-soc-jz4740.ko \
1212    $(LINUX_DIR)/sound/soc/jz4740/snd-soc-jz4740-i2s.ko
1313  AUTOLOAD:=$(call AutoLoad,60,snd-soc-jz4740 snd-soc-jz4740-i2s)
1414endef
1515
16define KernelPackage/sound-soc-jzcodec
16ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.35)),1)
17define 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)
24endef
25else
26define KernelPackage/sound-soc-jz4740-codec
1727  SUBMENU:=$(SOUND_MENU)
1828  DEPENDS:=kmod-sound-soc-core @TARGET_xburst
1929  TITLE:=JZ4740 SoC internal codec support
...... 
2131  FILES:=$(LINUX_DIR)/sound/soc/codecs/snd-soc-jzcodec.ko
2232  AUTOLOAD:=$(call AutoLoad,60,snd-soc-jzcodec)
2333endef
34endif
2435
2536define KernelPackage/sound-soc-xburst/default
2637  SUBMENU:=$(SOUND_MENU)
27  DEPENDS:=kmod-sound-soc-jz4740 kmod-sound-soc-jzcodec @TARGET_xburst_$(if $(4),$(4),$(3))
38  DEPENDS:=kmod-sound-soc-jz4740 kmod-sound-soc-jz4740-codec @TARGET_xburst_$(if $(4),$(4),$(3))
2839  TITLE:=$(1) sound support
2940  KCONFIG:=CONFIG_SND_JZ4740_SOC_$(2)
3041  FILES:=$(LINUX_DIR)/sound/soc/jz4740/snd-soc-$(3).ko
...... 
4455endef
4556
4657$(eval $(call KernelPackage,sound-soc-jz4740))
47$(eval $(call KernelPackage,sound-soc-jzcodec))
58$(eval $(call KernelPackage,sound-soc-jz4740-codec))
4859$(eval $(call KernelPackage,sound-soc-qilb60))
4960$(eval $(call KernelPackage,sound-soc-n516))
5061$(eval $(call KernelPackage,sound-soc-n526))
target/linux/xburst/n516/target.mk
33    kmod-sound-core \
44    kmod-sound-soc-core \
55    kmod-sound-soc-jz4740 \
6    kmod-sound-soc-jzcodec \
6    kmod-sound-soc-jz4740-codec \
77    kmod-sound-soc-n516 \
88
target/linux/xburst/n526/target.mk
33    kmod-sound-core \
44    kmod-sound-soc-core \
55    kmod-sound-soc-jz4740 \
6    kmod-sound-soc-jzcodec \
6    kmod-sound-soc-jz4740-codec \
77    kmod-sound-soc-n516 \
target/linux/xburst/qi_lb60/target.mk
33    kmod-sound-core \
44    kmod-sound-soc-core \
55    kmod-sound-soc-jz4740 \
6    kmod-sound-soc-jzcodec \
6    kmod-sound-soc-jz4740-codec \
77    kmod-sound-soc-qilb60 \
88

Archive Download the corresponding diff file



interactive