diff options
author | John Crispin <blogic@openwrt.org> | 2014-12-02 15:25:03 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-12-02 15:25:03 +0000 |
commit | c8bcb7b313b95cdef12aee4fb2d3f7a7b9815d50 (patch) | |
tree | 3b8d06e078be4d08a7b6e65d7b273eb90b95d34c /package/kernel | |
parent | bbc157d24bd442ea78bb77e5b06873b934a9f4dc (diff) | |
download | upstream-c8bcb7b313b95cdef12aee4fb2d3f7a7b9815d50.tar.gz upstream-c8bcb7b313b95cdef12aee4fb2d3f7a7b9815d50.tar.bz2 upstream-c8bcb7b313b95cdef12aee4fb2d3f7a7b9815d50.zip |
kernel/modules: package gpio-beeper
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43495 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel')
-rw-r--r-- | package/kernel/linux/modules/other.mk | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index 5d1c2fb348..b1bb76a892 100644 --- a/package/kernel/linux/modules/other.mk +++ b/package/kernel/linux/modules/other.mk @@ -950,3 +950,22 @@ define KernelPackage/thermal-kirkwood/description endef $(eval $(call KernelPackage,thermal-kirkwood)) + + +define KernelPackage/gpio-beeper + SUBMENU:=$(OTHER_MENU) + TITLE:=GPIO beeper support + KCONFIG:= \ + CONFIG_INPUT_MISC=y \ + CONFIG_INPUT_GPIO_BEEPER + FILES:= \ + $(LINUX_DIR)/drivers/input/misc/gpio-beeper.ko + AUTOLOAD:=$(call AutoLoad,50,gpio-beeper) + $(call AddDepends/input) +endef + +define KernelPackage/gpio-beeper/description + This enables playing beeps through an GPIO-connected buzzer +endef + +$(eval $(call KernelPackage,gpio-beeper)) |