diff options
author | John Crispin <john@openwrt.org> | 2014-12-02 15:25:03 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-12-02 15:25:03 +0000 |
commit | c2e57fcb2fa7c552765bafedf11c53c1b1b8f103 (patch) | |
tree | 27058d12d5cb512137d09e272e0445324a6766f3 /package/kernel | |
parent | ae51d64671eb08ccba9be54cd8652ff806a40fb3 (diff) | |
download | mtk-20170518-c2e57fcb2fa7c552765bafedf11c53c1b1b8f103.zip mtk-20170518-c2e57fcb2fa7c552765bafedf11c53c1b1b8f103.tar.gz mtk-20170518-c2e57fcb2fa7c552765bafedf11c53c1b1b8f103.tar.bz2 |
kernel/modules: package gpio-beeper
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 43495
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 5d1c2fb..b1bb76a 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)) |