From: Nicolas Thill Date: Sat, 24 Apr 2010 13:46:31 +0000 (+0000) Subject: package/kernel: move pcspkr to sound.mk X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=014b05878d64fb8408a4610fad07271be777f96c;p=openwrt%2Fstaging%2Fldir.git package/kernel: move pcspkr to sound.mk SVN-Revision: 21135 --- diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index 10db180e5f..bc567fb65e 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -100,23 +100,6 @@ endef $(eval $(call KernelPackage,lp)) -define KernelPackage/pcspkr - SUBMENU:=$(OTHER_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/pcmcia-core SUBMENU:=$(OTHER_MENU) diff --git a/package/kernel/modules/sound.mk b/package/kernel/modules/sound.mk index 3d2bd27b54..ef6b0a9daf 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