aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-04-05 11:29:56 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-04-05 11:29:56 +0000
commit010a407a179a89724d88967b9e4d38395176ad46 (patch)
tree938a9e2ac5b561ce728ba30450ffa87592eaacda /package
parent9bd36c854efa2170dc33a6d1791739569b36715e (diff)
downloadupstream-010a407a179a89724d88967b9e4d38395176ad46.tar.gz
upstream-010a407a179a89724d88967b9e4d38395176ad46.tar.bz2
upstream-010a407a179a89724d88967b9e4d38395176ad46.zip
add missing modules for usb sound support on 2.6 (#1535)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6869 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/kernel/modules/other.mk9
-rw-r--r--package/kernel/modules/usb.mk7
2 files changed, 11 insertions, 5 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index e60927f2f3..2cea08f6af 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -104,19 +104,22 @@ define KernelPackage/soundcore
DESCRIPTION:=Kernel modules for sound support
KCONFIG:=$(CONFIG_SOUND)
SUBMENU:=$(EMENU)
- AUTOLOAD:=$(call AutoLoad,30,soundcore)
endef
define KernelPackage/soundcore/2.4
FILES:=$(MODULES_DIR)/kernel/drivers/sound/soundcore.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,30,soundcore)
endef
define KernelPackage/soundcore/2.6
- FILES:=$(MODULES_DIR)/kernel/sound/soundcore.$(LINUX_KMOD_SUFFIX)
+ FILES:= \
+ $(MODULES_DIR)/kernel/sound/soundcore.$(LINUX_KMOD_SUFFIX) \
+ $(MODULES_DIR)/kernel/sound/core/*.$(LINUX_KMOD_SUFFIX) \
+ $(MODULES_DIR)/kernel/sound/core/oss/*.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,30,snd snd-page-alloc snd-hwdep snd-rawmidi snd-timer snd-pcm snd-mixer-oss snd-pcm-oss)
endef
$(eval $(call KernelPackage,soundcore))
-
define KernelPackage/loop
TITLE:=Loopback device support
DESCRIPTION:=Kernel module for loopback device support
diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk
index bceba63d96..cffd05394b 100644
--- a/package/kernel/modules/usb.mk
+++ b/package/kernel/modules/usb.mk
@@ -123,17 +123,20 @@ define KernelPackage/usb-audio
$(call usbdep,+kmod-soundcore)
TITLE:=Support for audio devices
DESCRIPTION:=Kernel support for USB audio devices
- AUTOLOAD:=$(call AutoLoad,60,audio)
endef
define KernelPackage/usb-audio/2.4
KCONFIG:=$(CONFIG_USB_AUDIO)
FILES:=$(MODULES_DIR)/kernel/drivers/usb/audio.o
+ AUTOLOAD:=$(call AutoLoad,60,audio)
endef
define KernelPackage/usb-audio/2.6
KCONFIG:=$(CONFIG_SND_USB_AUDIO)
- FILES:=$(MODULES_DIR)/kernel/sound/usb/snd-usb-audio.ko
+ FILES:= \
+ $(MODULES_DIR)/kernel/sound/usb/snd-usb-lib.ko \
+ $(MODULES_DIR)/kernel/sound/usb/snd-usb-audio.ko
+ AUTOLOAD:=$(call AutoLoad,60,snd-usb-lib snd-usb-audio)
endef
$(eval $(call KernelPackage,usb-audio))