diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-06-30 12:09:22 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-06-30 12:09:22 +0000 |
commit | 78c9e79c159f0cfb0b38fb4a0431afb9da7296bd (patch) | |
tree | 775c8c2ef8e817ec3c7ee32bc7cb4c7985709eca /package/kernel | |
parent | c09dc20f2cadaba86168adbb6df15e17c320d8d0 (diff) | |
download | mtk-20170518-78c9e79c159f0cfb0b38fb4a0431afb9da7296bd.zip mtk-20170518-78c9e79c159f0cfb0b38fb4a0431afb9da7296bd.tar.gz mtk-20170518-78c9e79c159f0cfb0b38fb4a0431afb9da7296bd.tar.bz2 |
fix the path to the yealink module (#1944)
SVN-Revision: 7788
Diffstat (limited to 'package/kernel')
-rw-r--r-- | package/kernel/modules/usb.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk index 18e711e..1add875 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)) |