summaryrefslogtreecommitdiff
path: root/package/kernel/modules/sound.mk
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2010-04-24 13:46:31 +0000
committerNicolas Thill <nico@openwrt.org>2010-04-24 13:46:31 +0000
commit014b05878d64fb8408a4610fad07271be777f96c (patch)
tree110ef0b3e04f0d4f8792610ddee1963ae39170e1 /package/kernel/modules/sound.mk
parent225ab2533f2fc590fba22a5a3e6bdb85b222d6be (diff)
downloadmtk-20170518-014b05878d64fb8408a4610fad07271be777f96c.zip
mtk-20170518-014b05878d64fb8408a4610fad07271be777f96c.tar.gz
mtk-20170518-014b05878d64fb8408a4610fad07271be777f96c.tar.bz2
package/kernel: move pcspkr to sound.mk
SVN-Revision: 21135
Diffstat (limited to 'package/kernel/modules/sound.mk')
-rw-r--r--package/kernel/modules/sound.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/kernel/modules/sound.mk b/package/kernel/modules/sound.mk
index 3d2bd27..ef6b0a9 100644
--- a/package/kernel/modules/sound.mk
+++ b/package/kernel/modules/sound.mk
@@ -7,6 +7,22 @@
SOUND_MENU:=Sound Support
+define KernelPackage/pcspkr
+ SUBMENU:=$(SOUND_MENU)
+ TITLE:=PC speaker support
+ DEPENDS:=@LINUX_2_6
+ 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/sound-core
SUBMENU:=$(SOUND_MENU)
TITLE:=Sound support