projects
/
openwrt-10.03
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix the path to the yealink module (#1944)
[openwrt-10.03/.git]
/
package
/
kernel
/
modules
/
usb.mk
diff --git
a/package/kernel/modules/usb.mk
b/package/kernel/modules/usb.mk
index 18e711e0beae087eab31436757cd854d0d53c1ad..1add87557e8146f4ea6629544335fe1779279480 100644
(file)
--- a/
package/kernel/modules/usb.mk
+++ b/
package/kernel/modules/usb.mk
@@
-21,6
+21,11
@@
ifeq ($(KERNEL_PATCHVER),2.6.21)
endif
USBHID_DIR?=drivers/hid/usbhid
endif
USBHID_DIR?=drivers/hid/usbhid
+ifeq ($(KERNEL_PATCHVER),2.6.21)
+ USBINPUT_DIR:=usb/input
+endif
+USBINPUT_DIR?=input/misc
+
define usbdep
SUBMENU:=$(USBMENU)
DEPENDS:=kmod-usb-core $(1)
define usbdep
SUBMENU:=$(USBMENU)
DEPENDS:=kmod-usb-core $(1)
@@
-415,7
+420,7
@@
define KernelPackage/usb-yealink
TITLE:=USB Yealink VOIP phone
DESCRIPTION:=Kernel support for Yealink VOIP phone
KCONFIG:=$(CONFIG_USB_YEALINK)
TITLE:=USB Yealink VOIP phone
DESCRIPTION:=Kernel support for Yealink VOIP phone
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)
endef
$(eval $(call KernelPackage,usb-yealink))
AUTOLOAD:=$(call AutoLoad,70,yealink)
endef
$(eval $(call KernelPackage,usb-yealink))