Skip to content

Commit

Permalink
ALSA: synth: Select snd-emux-synth explicitly
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
tiwai committed Jun 9, 2017
1 parent 0181307 commit 8272115
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions sound/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ source "sound/soc/Kconfig"

source "sound/x86/Kconfig"

source "sound/synth/Kconfig"

endif # SND

menuconfig SOUND_PRIME
Expand Down
1 change: 1 addition & 0 deletions sound/isa/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,7 @@ config SND_SBAWE_SEQ
def_tristate SND_SEQUENCER && SND_SBAWE
select SND_SEQ_MIDI_EMUL
select SND_SEQ_VIRMIDI
select SND_SYNTH_EMUX

config SND_SB16_CSP
bool "Sound Blaster 16/AWE CSP support"
Expand Down
1 change: 1 addition & 0 deletions sound/pci/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,7 @@ config SND_EMU10K1_SEQ
def_tristate SND_SEQUENCER && SND_EMU10K1
select SND_SEQ_MIDI_EMUL
select SND_SEQ_VIRMIDI
select SND_SYNTH_EMUX

config SND_EMU10K1X
tristate "Emu10k1X (Dell OEM Version)"
Expand Down
2 changes: 2 additions & 0 deletions sound/synth/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
config SND_SYNTH_EMUX
tristate
4 changes: 1 addition & 3 deletions sound/synth/emux/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8272115

Please sign in to comment.