![Michal Marek](/assets/img/avatar_default.png)
Instead of mangling the CONFIG_* variables in the makefiles over and over, set a few helper variables in Kconfig. Signed-off-by: Michal Marek <mmarek@suse.cz> Signed-off-by: Takashi Iwai <tiwai@suse.de>
33 lines
1.2 KiB
Makefile
33 lines
1.2 KiB
Makefile
#
|
|
# Makefile for ALSA
|
|
# Copyright (c) 1999 by Jaroslav Kysela <perex@perex.cz>
|
|
#
|
|
|
|
ifeq ($(CONFIG_SND_SEQUENCER_OSS),y)
|
|
obj-$(CONFIG_SND_SEQUENCER) += oss/
|
|
endif
|
|
|
|
snd-seq-device-objs := seq_device.o
|
|
snd-seq-objs := seq.o seq_lock.o seq_clientmgr.o seq_memory.o seq_queue.o \
|
|
seq_fifo.o seq_prioq.o seq_timer.o \
|
|
seq_system.o seq_ports.o seq_info.o
|
|
snd-seq-midi-objs := seq_midi.o
|
|
snd-seq-midi-emul-objs := seq_midi_emul.o
|
|
snd-seq-midi-event-objs := seq_midi_event.o
|
|
snd-seq-dummy-objs := seq_dummy.o
|
|
snd-seq-virmidi-objs := seq_virmidi.o
|
|
|
|
obj-$(CONFIG_SND_SEQUENCER) += snd-seq.o snd-seq-device.o
|
|
ifeq ($(CONFIG_SND_SEQUENCER_OSS),y)
|
|
obj-$(CONFIG_SND_SEQUENCER) += snd-seq-midi-event.o
|
|
endif
|
|
obj-$(CONFIG_SND_SEQ_DUMMY) += snd-seq-dummy.o
|
|
|
|
# Toplevel Module Dependency
|
|
obj-$(CONFIG_SND_VIRMIDI) += snd-seq-virmidi.o snd-seq-midi-event.o
|
|
obj-$(CONFIG_SND_RAWMIDI_SEQ) += snd-seq-midi.o snd-seq-midi-event.o
|
|
obj-$(CONFIG_SND_OPL3_LIB_SEQ) += snd-seq-midi-event.o snd-seq-midi-emul.o
|
|
obj-$(CONFIG_SND_OPL4_LIB_SEQ) += snd-seq-midi-event.o snd-seq-midi-emul.o
|
|
obj-$(CONFIG_SND_SBAWE_SEQ) += snd-seq-midi-emul.o snd-seq-virmidi.o
|
|
obj-$(CONFIG_SND_EMU10K1_SEQ) += snd-seq-midi-emul.o snd-seq-virmidi.o
|