1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-11-18 22:43:53 +01:00

Add the gpio_keys input module to menuconfig

Signed-off-by: Ferenc Wagner <wferi@niif.hu>

SVN-Revision: 16716
This commit is contained in:
Gabor Juhos 2009-07-06 16:10:20 +00:00
parent de45798d41
commit 0c1004ac2c

@ -674,6 +674,23 @@ endef
$(eval $(call KernelPackage,input-polldev)) $(eval $(call KernelPackage,input-polldev))
define KernelPackage/input-gpio-keys
SUBMENU:=$(OTHER_MENU)
TITLE:=GPIO key support
DEPENDS:= @GPIO_SUPPORT +kmod-input-core
KCONFIG:=CONFIG_KEYBOARD_GPIO
FILES:=$(LINUX_DIR)/drivers/input/keyboard/gpio_keys.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,60,gpio_keys)
endef
define KernelPackage/input-gpio-keys/description
This driver implements support for buttons connected
to GPIO pins of various CPUs (and some other chips).
endef
$(eval $(call KernelPackage,input-gpio-keys))
define KernelPackage/input-gpio-buttons define KernelPackage/input-gpio-buttons
SUBMENU:=$(OTHER_MENU) SUBMENU:=$(OTHER_MENU)
TITLE:=Polled GPIO buttons input device TITLE:=Polled GPIO buttons input device