summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-04-20 21:01:03 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-04-20 21:01:03 +0000
commit3de189af5d2cb6b1b6e1ca226a8561e006e5a9c1 (patch)
tree0cca4df6de634576131039e5dd72907bcf2dc3b4 /package
parent8ef4c6756c504c65310c296b17a45de594356adf (diff)
downloadmtk-20170518-3de189af5d2cb6b1b6e1ca226a8561e006e5a9c1.zip
mtk-20170518-3de189af5d2cb6b1b6e1ca226a8561e006e5a9c1.tar.gz
mtk-20170518-3de189af5d2cb6b1b6e1ca226a8561e006e5a9c1.tar.bz2
add missing kmod-hid module (thx, fish)
SVN-Revision: 10894
Diffstat (limited to 'package')
-rw-r--r--package/kernel/modules/other.mk16
-rw-r--r--package/kernel/modules/usb.mk2
2 files changed, 17 insertions, 1 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index 3872b3c..11ef572 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -498,6 +498,22 @@ endef
$(eval $(call KernelPackage,input-evdev))
+define KernelPackage/hid
+ SUBMENU:=$(OTHER_MENU)
+ TITLE:=Input even device
+ DEPENDS:=+kmod-input-core +kmod-input-evdev
+ KCONFIG:=CONFIG_HID
+ FILES:=$(LINUX_DIR)/drivers/hid/hid.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,61,hid)
+endef
+
+define KernelPackage/hid/description
+ Kernel modules for HID devices
+endef
+
+$(eval $(call KernelPackage,hid))
+
+
define KernelPackage/input-polldev
SUBMENU:=$(OTHER_MENU)
TITLE:=Polled Input device support
diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk
index bfe14f6..0f6b8c7 100644
--- a/package/kernel/modules/usb.mk
+++ b/package/kernel/modules/usb.mk
@@ -561,7 +561,7 @@ $(eval $(call KernelPackage,usb-net-cdc-ether))
define KernelPackage/usb-hid
- $(call usbdep,@LINUX_2_6 +kmod-input-core +kmod-input-evdev)
+ $(call usbdep,@LINUX_2_6 +kmod-input-core +kmod-input-evdev +kmod-hid)
TITLE:=Support for USB Human Input Devices
KCONFIG:=CONFIG_HID_SUPPORT=y CONFIG_USB_HID
FILES:=$(LINUX_DIR)/drivers/$(USBHID_DIR)/usbhid.ko