2 # Copyright (C) 2008-2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
9 include $(INCLUDE_DIR
)/kernel.mk
11 PKG_NAME
:=button-hotplug
15 include $(INCLUDE_DIR
)/package.mk
17 define KernelPackage
/button-hotplug
18 SUBMENU
:=Other modules
19 TITLE
:=Button Hotplug driver
20 DEPENDS
:=+kmod-input-core
21 FILES
:=$(PKG_BUILD_DIR
)/button-hotplug.ko
22 AUTOLOAD
:=$(call AutoLoad
,30,button-hotplug
,1)
26 define KernelPackage
/button-hotplug
/description
27 Kernel module to generate button uevent-s from input subsystem events.
28 If your device uses GPIO buttons
, see gpio-button-hotplug.
32 $(KERNEL_MAKE
) M
="$(PKG_BUILD_DIR)" modules
35 $(eval
$(call KernelPackage
,button-hotplug
))