summaryrefslogtreecommitdiff
path: root/sound/synth
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2017-06-09 14:57:51 +0200
committerTakashi Iwai <tiwai@suse.de>2017-06-09 22:10:06 +0200
commit8272115578ce02566b4c6bbe45f09d0d55f4a1c6 (patch)
tree543f421931fb6ff8f1c45ed8ebce2d3b4a9737ad /sound/synth
parent0181307abc1d2eb2a0dead93870bcffadddb827c (diff)
downloadlinux-rpi3-8272115578ce02566b4c6bbe45f09d0d55f4a1c6.tar.gz
linux-rpi3-8272115578ce02566b4c6bbe45f09d0d55f4a1c6.tar.bz2
linux-rpi3-8272115578ce02566b4c6bbe45f09d0d55f4a1c6.zip
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>
Diffstat (limited to 'sound/synth')
-rw-r--r--sound/synth/Kconfig2
-rw-r--r--sound/synth/emux/Makefile4
2 files changed, 3 insertions, 3 deletions
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 @@
+config SND_SYNTH_EMUX
+ 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 \
snd-emux-synth-$(CONFIG_SND_PROC_FS) += emux_proc.o
snd-emux-synth-$(CONFIG_SND_SEQUENCER_OSS) += emux_oss.o
-# Toplevel Module Dependencies
-obj-$(CONFIG_SND_SBAWE_SEQ) += snd-emux-synth.o
-obj-$(CONFIG_SND_EMU10K1_SEQ) += snd-emux-synth.o
+obj-$(CONFIG_SND_SYNTH_EMUX) += snd-emux-synth.o