summaryrefslogtreecommitdiff
path: root/sound/core/Makefile
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2007-07-26 19:10:47 +0200
committerJaroslav Kysela <perex@perex.cz>2007-10-16 15:58:05 +0200
commit52a6db82efe345af62aa72c6ce9dcb89a4d993b5 (patch)
tree27f82c0cf86953755c4e6c63266d8c4874b6ca53 /sound/core/Makefile
parent8f11551b1798170dcffdd28475075ca4f1c6c990 (diff)
downloadlwn-52a6db82efe345af62aa72c6ce9dcb89a4d993b5.tar.gz
lwn-52a6db82efe345af62aa72c6ce9dcb89a4d993b5.zip
[ALSA] Clean up Makefile
Clean up Makefile using xxx- style instead of ifeq(CONFIG_XXX,y). Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/core/Makefile')
-rw-r--r--sound/core/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/sound/core/Makefile b/sound/core/Makefile
index 05f5cdca655c..3ec303d09390 100644
--- a/sound/core/Makefile
+++ b/sound/core/Makefile
@@ -3,13 +3,9 @@
# Copyright (c) 1999,2001 by Jaroslav Kysela <perex@suse.cz>
#
-snd-objs := sound.o init.o memory.o info.o control.o misc.o device.o
-ifeq ($(CONFIG_ISA_DMA_API),y)
-snd-objs += isadma.o
-endif
-ifeq ($(CONFIG_SND_OSSEMUL),y)
-snd-objs += sound_oss.o info_oss.o
-endif
+snd-y := sound.o init.o memory.o info.o control.o misc.o device.o
+snd-$(CONFIG_ISA_DMA_API) += isadma.o
+snd-$(CONFIG_SND_OSSEMUL) += sound_oss.o info_oss.o
snd-pcm-objs := pcm.o pcm_native.o pcm_lib.o pcm_timer.o pcm_misc.o \
pcm_memory.o