diff options
author | Takashi Iwai <tiwai@suse.de> | 2007-07-26 13:10:47 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2007-10-16 09:58:05 -0400 |
commit | 52a6db82efe345af62aa72c6ce9dcb89a4d993b5 (patch) | |
tree | 27f82c0cf86953755c4e6c63266d8c4874b6ca53 | |
parent | 8f11551b1798170dcffdd28475075ca4f1c6c990 (diff) |
[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>
-rw-r--r-- | sound/core/Makefile | 10 | ||||
-rw-r--r-- | sound/drivers/opl3/Makefile | 6 | ||||
-rw-r--r-- | sound/i2c/Makefile | 4 | ||||
-rw-r--r-- | sound/pci/cs46xx/Makefile | 6 | ||||
-rw-r--r-- | sound/pci/cs5535audio/Makefile | 7 |
5 files changed, 10 insertions, 23 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 @@ | |||
3 | # Copyright (c) 1999,2001 by Jaroslav Kysela <perex@suse.cz> | 3 | # Copyright (c) 1999,2001 by Jaroslav Kysela <perex@suse.cz> |
4 | # | 4 | # |
5 | 5 | ||
6 | snd-objs := sound.o init.o memory.o info.o control.o misc.o device.o | 6 | snd-y := sound.o init.o memory.o info.o control.o misc.o device.o |
7 | ifeq ($(CONFIG_ISA_DMA_API),y) | 7 | snd-$(CONFIG_ISA_DMA_API) += isadma.o |
8 | snd-objs += isadma.o | 8 | snd-$(CONFIG_SND_OSSEMUL) += sound_oss.o info_oss.o |
9 | endif | ||
10 | ifeq ($(CONFIG_SND_OSSEMUL),y) | ||
11 | snd-objs += sound_oss.o info_oss.o | ||
12 | endif | ||
13 | 9 | ||
14 | snd-pcm-objs := pcm.o pcm_native.o pcm_lib.o pcm_timer.o pcm_misc.o \ | 10 | snd-pcm-objs := pcm.o pcm_native.o pcm_lib.o pcm_timer.o pcm_misc.o \ |
15 | pcm_memory.o | 11 | pcm_memory.o |
diff --git a/sound/drivers/opl3/Makefile b/sound/drivers/opl3/Makefile index 12059785b5cb..87ec577decf1 100644 --- a/sound/drivers/opl3/Makefile +++ b/sound/drivers/opl3/Makefile | |||
@@ -4,10 +4,8 @@ | |||
4 | # | 4 | # |
5 | 5 | ||
6 | snd-opl3-lib-objs := opl3_lib.o opl3_synth.o | 6 | snd-opl3-lib-objs := opl3_lib.o opl3_synth.o |
7 | snd-opl3-synth-objs := opl3_seq.o opl3_midi.o opl3_drums.o | 7 | snd-opl3-synth-y := opl3_seq.o opl3_midi.o opl3_drums.o |
8 | ifeq ($(CONFIG_SND_SEQUENCER_OSS),y) | 8 | snd-opl3-synth-$(CONFIG_SND_SEQUENCER_OSS) += opl3_oss.o |
9 | snd-opl3-synth-objs += opl3_oss.o | ||
10 | endif | ||
11 | 9 | ||
12 | # | 10 | # |
13 | # this function returns: | 11 | # this function returns: |
diff --git a/sound/i2c/Makefile b/sound/i2c/Makefile index 45902d48c89c..0856cda06daf 100644 --- a/sound/i2c/Makefile +++ b/sound/i2c/Makefile | |||
@@ -7,9 +7,7 @@ snd-i2c-objs := i2c.o | |||
7 | snd-cs8427-objs := cs8427.o | 7 | snd-cs8427-objs := cs8427.o |
8 | snd-tea6330t-objs := tea6330t.o | 8 | snd-tea6330t-objs := tea6330t.o |
9 | 9 | ||
10 | ifeq ($(subst m,y,$(CONFIG_L3)),y) | 10 | obj-$(CONFIG_L3) += l3/ |
11 | obj-$(CONFIG_L3) += l3/ | ||
12 | endif | ||
13 | 11 | ||
14 | obj-$(CONFIG_SND) += other/ | 12 | obj-$(CONFIG_SND) += other/ |
15 | 13 | ||
diff --git a/sound/pci/cs46xx/Makefile b/sound/pci/cs46xx/Makefile index d8b77b89aec4..7fcc967440cd 100644 --- a/sound/pci/cs46xx/Makefile +++ b/sound/pci/cs46xx/Makefile | |||
@@ -3,10 +3,8 @@ | |||
3 | # Copyright (c) 2001 by Jaroslav Kysela <perex@suse.cz> | 3 | # Copyright (c) 2001 by Jaroslav Kysela <perex@suse.cz> |
4 | # | 4 | # |
5 | 5 | ||
6 | snd-cs46xx-objs := cs46xx.o cs46xx_lib.o | 6 | snd-cs46xx-y := cs46xx.o cs46xx_lib.o |
7 | ifeq ($(CONFIG_SND_CS46XX_NEW_DSP),y) | 7 | snd-cs46xx-$(CONFIG_SND_CS46XX_NEW_DSP) += dsp_spos.o dsp_spos_scb_lib.o |
8 | snd-cs46xx-objs += dsp_spos.o dsp_spos_scb_lib.o | ||
9 | endif | ||
10 | 8 | ||
11 | # Toplevel Module Dependency | 9 | # Toplevel Module Dependency |
12 | obj-$(CONFIG_SND_CS46XX) += snd-cs46xx.o | 10 | obj-$(CONFIG_SND_CS46XX) += snd-cs46xx.o |
diff --git a/sound/pci/cs5535audio/Makefile b/sound/pci/cs5535audio/Makefile index ad947b4c04cc..bb3d57e6a3cb 100644 --- a/sound/pci/cs5535audio/Makefile +++ b/sound/pci/cs5535audio/Makefile | |||
@@ -2,11 +2,8 @@ | |||
2 | # Makefile for cs5535audio | 2 | # Makefile for cs5535audio |
3 | # | 3 | # |
4 | 4 | ||
5 | snd-cs5535audio-objs := cs5535audio.o cs5535audio_pcm.o | 5 | snd-cs5535audio-y := cs5535audio.o cs5535audio_pcm.o |
6 | 6 | snd-cs5535audio-$(CONFIG_PM) += cs5535audio_pm.o | |
7 | ifeq ($(CONFIG_PM),y) | ||
8 | snd-cs5535audio-objs += cs5535audio_pm.o | ||
9 | endif | ||
10 | 7 | ||
11 | # Toplevel Module Dependency | 8 | # Toplevel Module Dependency |
12 | obj-$(CONFIG_SND_CS5535AUDIO) += snd-cs5535audio.o | 9 | obj-$(CONFIG_SND_CS5535AUDIO) += snd-cs5535audio.o |