From: Gabor Juhos Date: Mon, 6 Jul 2009 16:10:20 +0000 (+0000) Subject: Add the gpio_keys input module to menuconfig X-Git-Tag: reboot~23042 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0c1004ac2c4339c564441f47b5644b6f63ef769f;p=oweals%2Fopenwrt.git Add the gpio_keys input module to menuconfig Signed-off-by: Ferenc Wagner SVN-Revision: 16716 --- diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index 74905e1234..fdadfa10e1 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -674,6 +674,23 @@ endef $(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 SUBMENU:=$(OTHER_MENU) TITLE:=Polled GPIO buttons input device