add joystick device support
authorHamish Guthrie <hcg@openwrt.org>
Mon, 20 Apr 2009 12:31:00 +0000 (12:31 +0000)
committerHamish Guthrie <hcg@openwrt.org>
Mon, 20 Apr 2009 12:31:00 +0000 (12:31 +0000)
SVN-Revision: 15295

package/kernel/modules/other.mk

index 38df6429e0c89164f57c5743e78451cc068635a8..bed8eaaa5670d7b41c8dc683cd95d1f99ae2dfda 100644 (file)
@@ -657,6 +657,21 @@ endef
 
 $(eval $(call KernelPackage,input-gpio-buttons))
 
+define KernelPackage/input-joydev
+  SUBMENU:=$(OTHER_MENU)
+  TITLE:=Joystick device support
+  DEPENDS:=+kmod-input-core
+  KCONFIG:=CONFIG_INPUT_JOYDEV
+  FILES:=$(LINUX_DIR)/drivers/input/joydev.$(LINUX_KMOD_SUFFIX)
+  AUTOLOAD:=$(call AutoLoad,62,joydev)
+endef
+
+define KernelPackage/input-joydev/description
+  Kernel module for joystick support
+endef
+
+$(eval $(call KernelPackage,input-joydev))
+
 
 define KernelPackage/mmc-spi
   SUBMENU:=$(OTHER_MENU)