diff options
-rw-r--r-- | package/kernel/modules/other.mk | 21 | ||||
-rw-r--r-- | package/kernel/modules/usb.mk | 14 | ||||
-rw-r--r-- | target/linux/generic-2.6/config-template | 2 |
3 files changed, 36 insertions, 1 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index d7bdf0f42..c8ee64228 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -358,3 +358,24 @@ define KernelPackage/hwmon-pc87360 AUTOLOAD:=$(call AutoLoad,50,pc87360) endef $(eval $(call KernelPackage,hwmon-pc87360)) + +define KernelPackage/input-core + TITLE:=Input device core + DESCRIPTION:=Kernel modules for support of input device + SUBMENU:=$(EMENU) + KCONFIG:=$(CONFIG_INPUT) + FILES:=$(LINUX_DIR)/drivers/input/input-core.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,50,input-core) +endef +$(eval $(call KernelPackage,input-core)) + +define KernelPackage/input-evdev + TITLE:=Input even device + DESCRIPTION:=Kernel modules for support of input device events + SUBMENU:=$(EMENU) + KCONFIG:=$(CONFIG_INPUT_EVDEV) + FILES:=$(LINUX_DIR)/drivers/input/evdev.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,60,evdev) +endef +$(eval $(call KernelPackage,input-evdev)) + diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk index b7d5cc4da..4f4129433 100644 --- a/package/kernel/modules/usb.mk +++ b/package/kernel/modules/usb.mk @@ -331,3 +331,17 @@ define KernelPackage/usb-net-asix/2.6 endef $(eval $(call KernelPackage,usb-net-asix)) + + +define KernelPackage/usb-yealink + $(call usbdep,@LINUX_2_6) + TITLE:=USB Yealink VOIP phone + DESCRIPTION:=Kernel support for Yealink VOIP phone + KCONFIG:=$(CONFIG_USB_YEALINK) + FILES:=$(LINUX_DIR)/drivers/usb/input/yealink.ko + AUTOLOAD:=$(call AutoLoad,70,yealink) + DEPENDS:=kmod-input-core kmod-input-evdev +endef +$(eval $(call KernelPackage,usb-yealink)) + + diff --git a/target/linux/generic-2.6/config-template b/target/linux/generic-2.6/config-template index 949d750a9..751f96d14 100644 --- a/target/linux/generic-2.6/config-template +++ b/target/linux/generic-2.6/config-template @@ -1469,7 +1469,7 @@ CONFIG_USB_USBNET_MII=m # CONFIG_USB_WACOM is not set # CONFIG_USB_XPAD is not set # CONFIG_USB_XUSBATM is not set -# CONFIG_USB_YEALINK is not set +CONFIG_USB_YEALINK=m CONFIG_USB_ZD1201=m # CONFIG_UTS_NS is not set CONFIG_VFAT_FS=m |