Author: blogic
Date: 2014-12-02 16:25:03 +0100 (Tue, 02 Dec 2014)
New Revision: 43495

Modified:
   trunk/package/kernel/linux/modules/other.mk
Log:
kernel/modules: package gpio-beeper

Signed-off-by: Daniel Golle <[email protected]>

Modified: trunk/package/kernel/linux/modules/other.mk
===================================================================
--- trunk/package/kernel/linux/modules/other.mk 2014-12-02 15:23:37 UTC (rev 
43494)
+++ trunk/package/kernel/linux/modules/other.mk 2014-12-02 15:25:03 UTC (rev 
43495)
@@ -950,3 +950,22 @@
 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))
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to