summaryrefslogtreecommitdiffstats
path: root/sound/core/oss/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sound/core/oss/Makefile')
-rw-r--r--sound/core/oss/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/core/oss/Makefile b/sound/core/oss/Makefile
index e6d5a045ba27..578052540455 100644
--- a/sound/core/oss/Makefile
+++ b/sound/core/oss/Makefile
@@ -5,8 +5,9 @@
snd-mixer-oss-objs := mixer_oss.o
-snd-pcm-oss-objs := pcm_oss.o pcm_plugin.o \
- io.o copy.o linear.o mulaw.o route.o rate.o
+snd-pcm-oss-y := pcm_oss.o
+snd-pcm-oss-$(CONFIG_SND_PCM_OSS_PLUGINS) += pcm_plugin.o \
+ io.o copy.o linear.o mulaw.o route.o rate.o
obj-$(CONFIG_SND_MIXER_OSS) += snd-mixer-oss.o
obj-$(CONFIG_SND_PCM_OSS) += snd-pcm-oss.o