mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-24 05:34:36 +02:00
kernel: fix the pcspkr module, add proper dependencies, add the actual sound module
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33921 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
288f3f6650
commit
9283a39ce3
@ -7,21 +7,6 @@
|
||||
|
||||
SOUND_MENU:=Sound Support
|
||||
|
||||
define KernelPackage/pcspkr
|
||||
SUBMENU:=$(SOUND_MENU)
|
||||
TITLE:=PC speaker support
|
||||
KCONFIG:=CONFIG_INPUT_PCSPKR
|
||||
FILES:=$(LINUX_DIR)/drivers/input/misc/pcspkr.ko
|
||||
AUTOLOAD:=$(call AutoLoad,50,pcspkr)
|
||||
endef
|
||||
|
||||
define KernelPackage/pcspkr/description
|
||||
This enables sounds (tones) through the pc speaker
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,pcspkr))
|
||||
|
||||
|
||||
# allow targets to override the soundcore stuff
|
||||
SOUNDCORE_LOAD ?= \
|
||||
soundcore \
|
||||
@ -201,3 +186,24 @@ define KernelPackage/sound-soc-gw_avila
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,sound-soc-gw_avila))
|
||||
|
||||
|
||||
define KernelPackage/pcspkr
|
||||
DEPENDS:=@!TARGET_x86
|
||||
TITLE:=PC speaker support
|
||||
KCONFIG:= \
|
||||
CONFIG_INPUT_PCSPKR \
|
||||
CONFIG_SND_PCSP
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/input/misc/pcspkr.ko \
|
||||
$(LINUX_DIR)/sound/drivers/pcsp/snd-pcsp.ko
|
||||
AUTOLOAD:=$(call AutoLoad,50,pcspkr snd-pcsp)
|
||||
$(call AddDepends/input)
|
||||
$(call AddDepends/sound)
|
||||
endef
|
||||
|
||||
define KernelPackage/pcspkr/description
|
||||
This enables sounds (tones) through the pc speaker
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,pcspkr))
|
||||
|
Loading…
Reference in New Issue
Block a user