mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 19:03:08 +02:00
xburst: remove an obsolete CompareKernelPatchVer call
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32115 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
7bd3c3f626
commit
cc530eb3af
@ -13,7 +13,6 @@ define KernelPackage/sound-soc-jz4740
|
|||||||
AUTOLOAD:=$(call AutoLoad,60,snd-soc-jz4740 snd-soc-jz4740-i2s)
|
AUTOLOAD:=$(call AutoLoad,60,snd-soc-jz4740 snd-soc-jz4740-i2s)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.35)),1)
|
|
||||||
define KernelPackage/sound-soc-jz4740-codec
|
define KernelPackage/sound-soc-jz4740-codec
|
||||||
SUBMENU:=$(SOUND_MENU)
|
SUBMENU:=$(SOUND_MENU)
|
||||||
DEPENDS:=kmod-sound-soc-core @TARGET_xburst
|
DEPENDS:=kmod-sound-soc-core @TARGET_xburst
|
||||||
@ -22,16 +21,6 @@ define KernelPackage/sound-soc-jz4740-codec
|
|||||||
FILES:=$(LINUX_DIR)/sound/soc/codecs/snd-soc-jz4740-codec.ko
|
FILES:=$(LINUX_DIR)/sound/soc/codecs/snd-soc-jz4740-codec.ko
|
||||||
AUTOLOAD:=$(call AutoLoad,60,snd-soc-jz4740-codec)
|
AUTOLOAD:=$(call AutoLoad,60,snd-soc-jz4740-codec)
|
||||||
endef
|
endef
|
||||||
else
|
|
||||||
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_JZCODEC CONFIG_SND_SOC_JZ4740_CODEC
|
|
||||||
FILES:=$(LINUX_DIR)/sound/soc/codecs/snd-soc-jzcodec.ko
|
|
||||||
AUTOLOAD:=$(call AutoLoad,60,snd-soc-jzcodec)
|
|
||||||
endef
|
|
||||||
endif
|
|
||||||
|
|
||||||
define KernelPackage/sound-soc-xburst/default
|
define KernelPackage/sound-soc-xburst/default
|
||||||
SUBMENU:=$(SOUND_MENU)
|
SUBMENU:=$(SOUND_MENU)
|
||||||
|
Loading…
Reference in New Issue
Block a user