aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/modules/other.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-07-16 05:38:10 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-07-16 05:38:10 +0000
commit497e7253cd60e276f192b4e2647c564c77cad8b4 (patch)
tree3e2b17cb8f70ec319ce148d1bfbcee10f7112b60 /package/kernel/modules/other.mk
parent7b0a55127b172ffc259791cb0af537d90ce220b6 (diff)
downloadupstream-497e7253cd60e276f192b4e2647c564c77cad8b4.tar.gz
upstream-497e7253cd60e276f192b4e2647c564c77cad8b4.tar.bz2
upstream-497e7253cd60e276f192b4e2647c564c77cad8b4.zip
check if oss emulation is available before trying to package it into soundcore
SVN-Revision: 7999
Diffstat (limited to 'package/kernel/modules/other.mk')
-rw-r--r--package/kernel/modules/other.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index d4fbd8ce61..fd9ade97c0 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -117,8 +117,8 @@ define KernelPackage/soundcore/2.6
FILES:= \
$(LINUX_DIR)/sound/soundcore.$(LINUX_KMOD_SUFFIX) \
$(LINUX_DIR)/sound/core/*.$(LINUX_KMOD_SUFFIX) \
- $(LINUX_DIR)/sound/core/oss/*.$(LINUX_KMOD_SUFFIX)
- AUTOLOAD:=$(call AutoLoad,30,soundcore snd snd-page-alloc snd-hwdep snd-rawmidi snd-timer snd-pcm snd-mixer-oss snd-pcm-oss)
+ $(if $(CONFIG_SND_MIXER_OSS)$(CONFIG_SND_PCM_OSS),$(LINUX_DIR)/sound/core/oss/*.$(LINUX_KMOD_SUFFIX))
+ AUTOLOAD:=$(call AutoLoad,30,soundcore snd snd-page-alloc snd-hwdep snd-rawmidi snd-timer snd-pcm $(if $(CONFIG_SND_MIXER_OSS),snd-mixer-oss) $(if $(CONFIG_SND_PCM_OSS),snd-pcm-oss))
endef
define KernelPackage/soundcore/uml-2.6