projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
4838793
)
[kernel] Add package for gpio rotary encoder
author
Claudio Mignanti
<c.mignanti@gmail.com>
Mon, 12 Jul 2010 13:20:04 +0000
(13:20 +0000)
committer
Claudio Mignanti
<c.mignanti@gmail.com>
Mon, 12 Jul 2010 13:20:04 +0000
(13:20 +0000)
SVN-Revision: 22144
package/kernel/modules/other.mk
patch
|
blob
|
history
diff --git
a/package/kernel/modules/other.mk
b/package/kernel/modules/other.mk
index 9b8259b3df70a145b62005d8a16b063d3ebe22c3..08d284270fe28c6f08b471f07c79c883cbc33c84 100644
(file)
--- a/
package/kernel/modules/other.mk
+++ b/
package/kernel/modules/other.mk
@@
-310,6
+310,22
@@
endef
$(eval $(call KernelPackage,input-gpio-keys))
$(eval $(call KernelPackage,input-gpio-keys))
+define KernelPackage/input-gpio-encoder
+ SUBMENU:=$(OTHER_MENU)
+ TITLE:=GPIO rotay encoder
+ KCONFIG:=CONFIG_INPUT_GPIO_ROTARY_ENCODER
+ FILES:=$(LINUX_DIR)/drivers/input/misc/rotary_encoder.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,62,rotary_encoder)
+ $(call AddDepends/input,@GPIO_SUPPORT)
+endef
+
+define KernelPackage/gpio-encoder/description
+ Kernel module to use rotary encoders connected to GPIO pins
+endef
+
+$(eval $(call KernelPackage,input-gpio-encoder))
+
+
define KernelPackage/input-joydev
SUBMENU:=$(OTHER_MENU)
TITLE:=Joystick device support
define KernelPackage/input-joydev
SUBMENU:=$(OTHER_MENU)
TITLE:=Joystick device support