work around kernel config issues with sound modules

SVN-Revision: 9598
This commit is contained in:
Felix Fietkau 2007-11-25 17:15:30 +00:00
parent 4402192ded
commit 679089c6a8
2 changed files with 18 additions and 9 deletions

View file

@ -12,7 +12,7 @@ SOUND_MENU:=Sound Support
define KernelPackage/sound-core define KernelPackage/sound-core
SUBMENU:=$(SOUND_MENU) SUBMENU:=$(SOUND_MENU)
TITLE:=Sound support TITLE:=Sound support
DEPENDS:=@USB_SUPPORT @!TARGET_atheros DEPENDS:=@USB_SUPPORT||PCI_SUPPORT @!TARGET_atheros
KCONFIG:= \ KCONFIG:= \
CONFIG_SOUND \ CONFIG_SOUND \
CONFIG_SND \ CONFIG_SND \
@ -20,6 +20,10 @@ define KernelPackage/sound-core
CONFIG_SND_RAWMIDI \ CONFIG_SND_RAWMIDI \
CONFIG_SND_TIMER \ CONFIG_SND_TIMER \
CONFIG_SND_PCM \ CONFIG_SND_PCM \
CONFIG_SND_SEQUENCER \
CONFIG_SND_VIRMIDI \
CONFIG_SND_SEQ_DUMMY \
CONFIG_SND_SEQUENCER_OSS=y \
CONFIG_HOSTAUDIO CONFIG_HOSTAUDIO
endef endef
@ -29,12 +33,6 @@ define KernelPackage/sound-core/2.4
endef endef
define KernelPackage/sound-core/2.6 define KernelPackage/sound-core/2.6
# KCONFIG+= \
# CONFIG_SND \
# CONFIG_SND_HWDEP \
# CONFIG_SND_RAWMIDI \
# CONFIG_SND_TIMER \
# CONFIG_SND_PCM
FILES:= \ FILES:= \
$(LINUX_DIR)/sound/soundcore.$(LINUX_KMOD_SUFFIX) \ $(LINUX_DIR)/sound/soundcore.$(LINUX_KMOD_SUFFIX) \
$(LINUX_DIR)/sound/core/snd.$(LINUX_KMOD_SUFFIX) \ $(LINUX_DIR)/sound/core/snd.$(LINUX_KMOD_SUFFIX) \
@ -59,8 +57,6 @@ define KernelPackage/sound-core/2.6
endef endef
define KernelPackage/sound-core/uml-2.6 define KernelPackage/sound-core/uml-2.6
# KCONFIG+= \
# CONFIG_HOSTAUDIO
FILES:= \ FILES:= \
$(LINUX_DIR)/sound/soundcore.$(LINUX_KMOD_SUFFIX) \ $(LINUX_DIR)/sound/soundcore.$(LINUX_KMOD_SUFFIX) \
$(LINUX_DIR)/arch/um/drivers/hostaudio.$(LINUX_KMOD_SUFFIX) $(LINUX_DIR)/arch/um/drivers/hostaudio.$(LINUX_KMOD_SUFFIX)

View file

@ -0,0 +1,13 @@
Index: linux-2.6.23.1/sound/core/Kconfig
===================================================================
--- linux-2.6.23.1.orig/sound/core/Kconfig 2007-11-25 18:14:23.486146184 +0100
+++ linux-2.6.23.1/sound/core/Kconfig 2007-11-25 18:14:26.474316473 +0100
@@ -9,7 +9,7 @@
depends on SND
config SND_HWDEP
- tristate
+ tristate "Sound hardware support"
depends on SND
config SND_RAWMIDI