summaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-06-30 12:09:22 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-06-30 12:09:22 +0000
commitaf2420ac0951b6726c078a6af7820c8b5aa05037 (patch)
treeb064d030c4c1667168dbce3190f2d843b4c8a830 /package/kernel
parent370c954b8174a26876dbfeed6d92ac035b90bfcc (diff)
fix the path to the yealink module (#1944)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7788 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/modules/usb.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk
index 18e711e0b..1add87557 100644
--- 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
+ifeq ($(KERNEL_PATCHVER),2.6.21)
+ USBINPUT_DIR:=usb/input
+endif
+USBINPUT_DIR?=input/misc
+
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)
- 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))