1
0
Fork 0
alistair23-linux/sound/synth/emux
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
emux.c ALSA: seq: Allow the tristate build of OSS emulation 2017-06-09 22:09:45 +02:00
emux_effect.c ALSA: seq: Allow the tristate build of OSS emulation 2017-06-09 22:09:45 +02:00
emux_hwdep.c ALSA: Include linux/uaccess.h and linux/bitopts.h instead of asm/* 2015-01-28 17:25:07 +01:00
emux_nrpn.c ALSA: emux: constify nrpn_conv_table structures 2016-01-06 10:19:49 +01:00
emux_oss.c ALSA: seq: Allow the tristate build of OSS emulation 2017-06-09 22:09:45 +02:00
emux_proc.c ALSA: emux: Fix/cleanup old ifdef CONFIG_PROC_FS 2015-05-29 07:58:11 +02:00
emux_seq.c ALSA: synth: use designated initializers 2016-12-28 16:06:16 +01:00
emux_synth.c ALSA: emux: Use setup_timer() and mod_timer() 2015-01-19 11:41:13 +01:00
emux_voice.h ALSA: emux: Fix/cleanup old ifdef CONFIG_PROC_FS 2015-05-29 07:58:11 +02:00
soundfont.c ALSA: Include linux/uaccess.h and linux/bitopts.h instead of asm/* 2015-01-28 17:25:07 +01:00