1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-30 23:16:17 +02:00

fix the path to the yealink module (#1944)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7788 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2007-06-30 12:09:22 +00:00
parent 370c954b81
commit af2420ac09

View File

@ -21,6 +21,11 @@ ifeq ($(KERNEL_PATCHVER),2.6.21)
endif endif
USBHID_DIR?=drivers/hid/usbhid USBHID_DIR?=drivers/hid/usbhid
ifeq ($(KERNEL_PATCHVER),2.6.21)
USBINPUT_DIR:=usb/input
endif
USBINPUT_DIR?=input/misc
define usbdep define usbdep
SUBMENU:=$(USBMENU) SUBMENU:=$(USBMENU)
DEPENDS:=kmod-usb-core $(1) DEPENDS:=kmod-usb-core $(1)
@ -415,7 +420,7 @@ define KernelPackage/usb-yealink
TITLE:=USB Yealink VOIP phone TITLE:=USB Yealink VOIP phone
DESCRIPTION:=Kernel support for Yealink VOIP phone DESCRIPTION:=Kernel support for Yealink VOIP phone
KCONFIG:=$(CONFIG_USB_YEALINK) KCONFIG:=$(CONFIG_USB_YEALINK)
FILES:=$(LINUX_DIR)/drivers/usb/input/yealink.ko FILES:=$(LINUX_DIR)/drivers/$(USBINPUT_DIR)/yealink.ko
AUTOLOAD:=$(call AutoLoad,70,yealink) AUTOLOAD:=$(call AutoLoad,70,yealink)
endef endef
$(eval $(call KernelPackage,usb-yealink)) $(eval $(call KernelPackage,usb-yealink))