Signed-off-by: Vasilis Tsiligiannis <[EMAIL PROTECTED]>
---
 trunk/package/kernel/modules/other.mk |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/trunk/package/kernel/modules/other.mk 
b/trunk/package/kernel/modules/other.mk
index a096552..5f0316f 100644
--- a/trunk/package/kernel/modules/other.mk
+++ b/trunk/package/kernel/modules/other.mk
@@ -71,6 +71,23 @@ endef
 
 $(eval $(call KernelPackage,lp))
 
+define KernelPackage/pcspkr
+  SUBMENU:=$(OTHER_MENU)
+  TITLE:=PC speaker support
+  DEPENDS:[EMAIL PROTECTED]
+  KCONFIG:=CONFIG_INPUT_PCSPKR
+  FILES:= \
+       $(LINUX_DIR)/drivers/input/misc/pcspkr.$(LINUX_KMOD_SUFFIX)
+  AUTOLOAD:=$(call AutoLoad,50, \
+       pcspkr \
+  )
+endef
+
+define KernelPackage/pcspkr/description
+ This enables sounds (tones) through the pc speaker
+endef
+
+$(eval $(call KernelPackage,pcspkr))
 
 define KernelPackage/pcmcia-core
   SUBMENU:=$(OTHER_MENU)
-- 
1.5.4.3

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to