linux/sound/drivers/opl3
Takashi Iwai f03293d8fc ALSA: Fix forgotten dependency fix for tristate OSS sequencer kconfig
In the commit 3d774d5ef0 ("ALSA: seq: Allow the tristate build of
OSS emulation") we changed CONFIG_SND_SEQUENCER_OSS to tristate, but a
couple of places were forgotten, namely, opl3 and emux Makefile.
These contain the line like
  snd-opl3-synth-$(CONFIG_SND_SEQUENCER_OSS) += opl3_oss.o
and this doesn't work any longer as expected because snd-opl3-synth
can be built-in while CONFIG_SND_SEQUENCER_OSS=m.

This patch fixes these places to build properly for the new kconfig
dependency.  In the end, we had to use ifneq() to satisfy the
requirement.  It's a bit ugly, but lesser evil.

Fixes: 3d774d5ef0 ("ALSA: seq: Allow the tristate build of OSS emulation")
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2017-06-28 08:45:07 +02:00
..
Makefile ALSA: Fix forgotten dependency fix for tristate OSS sequencer kconfig 2017-06-28 08:45:07 +02:00
opl3_drums.c
opl3_lib.c ALSA: seq: Allow the modular sequencer registration 2017-06-12 08:43:33 +02:00
opl3_midi.c ALSA: opl3: small array underflow 2015-03-06 13:04:42 +01:00
opl3_oss.c ALSA: opl3: Kill unused set_fs() 2017-05-17 07:13:12 +02:00
opl3_seq.c ALSA: seq: Allow the tristate build of OSS emulation 2017-06-09 22:09:45 +02:00
opl3_synth.c ALSA: Replace with IS_ENABLED() 2014-02-10 11:42:00 +01:00
opl3_voice.h ALSA: seq: Allow the tristate build of OSS emulation 2017-06-09 22:09:45 +02:00