fix the path to the yealink module (#1944)
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 30 Jun 2007 12:09:22 +0000 (12:09 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 30 Jun 2007 12:09:22 +0000 (12:09 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7788 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/kernel/modules/usb.mk

index 18e711e..1add875 100644 (file)
@@ -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))
This page took 0.021504 seconds and 4 git commands to generate.