summaryrefslogtreecommitdiffstats
path: root/sound/core/oss/Makefile
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2007-08-08 15:20:48 +0200
committerJaroslav Kysela <perex@perex.cz>2007-10-16 15:58:30 +0200
commit887f9f0253ba4a52f38810f3056cdf040a6157b3 (patch)
tree279fa93ac9f0977e0f0aed5f331e155c51f59cff /sound/core/oss/Makefile
parenta110133d4c56a56d927e4fba68317212969fddbd (diff)
downloadblackbird-obmc-linux-887f9f0253ba4a52f38810f3056cdf040a6157b3.tar.gz
blackbird-obmc-linux-887f9f0253ba4a52f38810f3056cdf040a6157b3.zip
[ALSA] Remove ifdefs from OSS PCM emulation codes
Fix Makefile to compile files conditionally to CONFIG_SND_PCM_OSS_PLUGINS, and remove unneeded ifdefs in these files. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
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
OpenPOWER on IntegriCloud