summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2017-06-09 08:57:51 -0400
committerTakashi Iwai <tiwai@suse.de>2017-06-09 16:10:06 -0400
commit8272115578ce02566b4c6bbe45f09d0d55f4a1c6 (patch)
tree543f421931fb6ff8f1c45ed8ebce2d3b4a9737ad
parent0181307abc1d2eb2a0dead93870bcffadddb827c (diff)
ALSA: synth: Select snd-emux-synth explicitly
Instead of the non-standard way to enable the build of snd-emux-synth module inside Makefile, rewrite Kconfig to select the item explicitly from each driver (sbawe and emu10k1). This is the standard way. Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--sound/Kconfig2
-rw-r--r--sound/isa/Kconfig1
-rw-r--r--sound/pci/Kconfig1
-rw-r--r--sound/synth/Kconfig2
-rw-r--r--sound/synth/emux/Makefile4
5 files changed, 7 insertions, 3 deletions
diff --git a/sound/Kconfig b/sound/Kconfig
index d2fadbec8d51..d7d2aac9542e 100644
--- a/sound/Kconfig
+++ b/sound/Kconfig
@@ -110,6 +110,8 @@ source "sound/soc/Kconfig"
110 110
111source "sound/x86/Kconfig" 111source "sound/x86/Kconfig"
112 112
113source "sound/synth/Kconfig"
114
113endif # SND 115endif # SND
114 116
115menuconfig SOUND_PRIME 117menuconfig SOUND_PRIME
diff --git a/sound/isa/Kconfig b/sound/isa/Kconfig
index bf1ab340e2a7..ea8ecc5bb826 100644
--- a/sound/isa/Kconfig
+++ b/sound/isa/Kconfig
@@ -389,6 +389,7 @@ config SND_SBAWE_SEQ
389 def_tristate SND_SEQUENCER && SND_SBAWE 389 def_tristate SND_SEQUENCER && SND_SBAWE
390 select SND_SEQ_MIDI_EMUL 390 select SND_SEQ_MIDI_EMUL
391 select SND_SEQ_VIRMIDI 391 select SND_SEQ_VIRMIDI
392 select SND_SYNTH_EMUX
392 393
393config SND_SB16_CSP 394config SND_SB16_CSP
394 bool "Sound Blaster 16/AWE CSP support" 395 bool "Sound Blaster 16/AWE CSP support"
diff --git a/sound/pci/Kconfig b/sound/pci/Kconfig
index bc7acb489a43..9ac9326f28d6 100644
--- a/sound/pci/Kconfig
+++ b/sound/pci/Kconfig
@@ -482,6 +482,7 @@ config SND_EMU10K1_SEQ
482 def_tristate SND_SEQUENCER && SND_EMU10K1 482 def_tristate SND_SEQUENCER && SND_EMU10K1
483 select SND_SEQ_MIDI_EMUL 483 select SND_SEQ_MIDI_EMUL
484 select SND_SEQ_VIRMIDI 484 select SND_SEQ_VIRMIDI
485 select SND_SYNTH_EMUX
485 486
486config SND_EMU10K1X 487config SND_EMU10K1X
487 tristate "Emu10k1X (Dell OEM Version)" 488 tristate "Emu10k1X (Dell OEM Version)"
diff --git a/sound/synth/Kconfig b/sound/synth/Kconfig
new file mode 100644
index 000000000000..dfe8950e0556
--- /dev/null
+++ b/sound/synth/Kconfig
@@ -0,0 +1,2 @@
1config SND_SYNTH_EMUX
2 tristate
diff --git a/sound/synth/emux/Makefile b/sound/synth/emux/Makefile
index fb761c2c2b50..4599108452fd 100644
--- a/sound/synth/emux/Makefile
+++ b/sound/synth/emux/Makefile
@@ -8,6 +8,4 @@ snd-emux-synth-objs := emux.o emux_synth.o emux_seq.o emux_nrpn.o \
8snd-emux-synth-$(CONFIG_SND_PROC_FS) += emux_proc.o 8snd-emux-synth-$(CONFIG_SND_PROC_FS) += emux_proc.o
9snd-emux-synth-$(CONFIG_SND_SEQUENCER_OSS) += emux_oss.o 9snd-emux-synth-$(CONFIG_SND_SEQUENCER_OSS) += emux_oss.o
10 10
11# Toplevel Module Dependencies 11obj-$(CONFIG_SND_SYNTH_EMUX) += snd-emux-synth.o
12obj-$(CONFIG_SND_SBAWE_SEQ) += snd-emux-synth.o
13obj-$(CONFIG_SND_EMU10K1_SEQ) += snd-emux-synth.o