1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-24 20:09:55 +02:00

kernel: modules names changed with kernel 2.6.35

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22139 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
hauke 2010-07-11 19:39:30 +00:00
parent f9840c8bfe
commit 24a6afd4e7
2 changed files with 14 additions and 0 deletions

View File

@ -54,10 +54,17 @@ define KernelPackage/pcmcia-yenta
KCONFIG:= \ KCONFIG:= \
CONFIG_PCCARD_NONSTATIC \ CONFIG_PCCARD_NONSTATIC \
CONFIG_YENTA CONFIG_YENTA
ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.35)),1)
FILES:= \
$(LINUX_DIR)/drivers/pcmcia/pcmcia_rsrc.$(LINUX_KMOD_SUFFIX) \
$(LINUX_DIR)/drivers/pcmcia/yenta_socket.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,41,pcmcia_rsrc yenta_socket)
else
FILES:= \ FILES:= \
$(LINUX_DIR)/drivers/pcmcia/rsrc_nonstatic.$(LINUX_KMOD_SUFFIX) \ $(LINUX_DIR)/drivers/pcmcia/rsrc_nonstatic.$(LINUX_KMOD_SUFFIX) \
$(LINUX_DIR)/drivers/pcmcia/yenta_socket.$(LINUX_KMOD_SUFFIX) $(LINUX_DIR)/drivers/pcmcia/yenta_socket.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,41,rsrc_nonstatic yenta_socket) AUTOLOAD:=$(call AutoLoad,41,rsrc_nonstatic yenta_socket)
endif
endef endef
$(eval $(call KernelPackage,pcmcia-yenta)) $(eval $(call KernelPackage,pcmcia-yenta))

View File

@ -125,10 +125,17 @@ define KernelPackage/usb-audio
CONFIG_SND_USB_AUDIO CONFIG_SND_USB_AUDIO
$(call AddDepends/usb) $(call AddDepends/usb)
$(call AddDepends/sound) $(call AddDepends/sound)
ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.35)),1)
FILES:= \
$(LINUX_DIR)/sound/usb/snd-usbmidi-lib.ko \
$(LINUX_DIR)/sound/usb/snd-usb-audio.ko
AUTOLOAD:=$(call AutoLoad,60,snd-usbmidi-lib snd-usb-audio)
else
FILES:= \ FILES:= \
$(LINUX_DIR)/sound/usb/snd-usb-lib.ko \ $(LINUX_DIR)/sound/usb/snd-usb-lib.ko \
$(LINUX_DIR)/sound/usb/snd-usb-audio.ko $(LINUX_DIR)/sound/usb/snd-usb-audio.ko
AUTOLOAD:=$(call AutoLoad,60,snd-usb-lib snd-usb-audio) AUTOLOAD:=$(call AutoLoad,60,snd-usb-lib snd-usb-audio)
endif
endef endef
define KernelPackage/usb-audio/description define KernelPackage/usb-audio/description