Commit dfe650be authored by Samuel Thibault's avatar Samuel Thibault Committed by Greg Kroah-Hartman

speakup: only build serialio when ISA is enabled

Drivers using serialio were already made available in Kconfig only under
the ISA condition.
Signed-off-by: default avatarSamuel Thibault <samuel.thibault@ens-lyon.org>
Link: https://lore.kernel.org/r/20200804160659.7y76sdseow43lfms@functionSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2b86d9b8
...@@ -42,6 +42,11 @@ config SPEAKUP ...@@ -42,6 +42,11 @@ config SPEAKUP
one of the listed synthesizers, you should say n. one of the listed synthesizers, you should say n.
if SPEAKUP if SPEAKUP
config SPEAKUP_SERIALIO
def_bool y
depends on ISA || COMPILE_TEST
config SPEAKUP_SYNTH_ACNTSA config SPEAKUP_SYNTH_ACNTSA
tristate "Accent SA synthesizer support" tristate "Accent SA synthesizer support"
help help
...@@ -52,7 +57,7 @@ config SPEAKUP_SYNTH_ACNTSA ...@@ -52,7 +57,7 @@ config SPEAKUP_SYNTH_ACNTSA
config SPEAKUP_SYNTH_ACNTPC config SPEAKUP_SYNTH_ACNTPC
tristate "Accent PC synthesizer support" tristate "Accent PC synthesizer support"
depends on ISA || COMPILE_TEST depends on SPEAKUP_SERIALIO
help help
This is the Speakup driver for the accent pc This is the Speakup driver for the accent pc
synthesizer. You can say y to build it into the kernel, synthesizer. You can say y to build it into the kernel,
...@@ -104,7 +109,7 @@ config SPEAKUP_SYNTH_DECEXT ...@@ -104,7 +109,7 @@ config SPEAKUP_SYNTH_DECEXT
config SPEAKUP_SYNTH_DECPC config SPEAKUP_SYNTH_DECPC
depends on m depends on m
depends on ISA || COMPILE_TEST depends on SPEAKUP_SERIALIO
tristate "DECtalk PC (big ISA card) synthesizer support" tristate "DECtalk PC (big ISA card) synthesizer support"
help help
...@@ -127,7 +132,7 @@ config SPEAKUP_SYNTH_DECPC ...@@ -127,7 +132,7 @@ config SPEAKUP_SYNTH_DECPC
config SPEAKUP_SYNTH_DTLK config SPEAKUP_SYNTH_DTLK
tristate "DoubleTalk PC synthesizer support" tristate "DoubleTalk PC synthesizer support"
depends on ISA || COMPILE_TEST depends on SPEAKUP_SERIALIO
help help
This is the Speakup driver for the internal DoubleTalk This is the Speakup driver for the internal DoubleTalk
...@@ -138,7 +143,7 @@ config SPEAKUP_SYNTH_DTLK ...@@ -138,7 +143,7 @@ config SPEAKUP_SYNTH_DTLK
config SPEAKUP_SYNTH_KEYPC config SPEAKUP_SYNTH_KEYPC
tristate "Keynote Gold PC synthesizer support" tristate "Keynote Gold PC synthesizer support"
depends on ISA || COMPILE_TEST depends on SPEAKUP_SERIALIO
help help
This is the Speakup driver for the Keynote Gold This is the Speakup driver for the Keynote Gold
......
...@@ -25,8 +25,8 @@ speakup-y := \ ...@@ -25,8 +25,8 @@ speakup-y := \
keyhelp.o \ keyhelp.o \
kobjects.o \ kobjects.o \
selection.o \ selection.o \
serialio.o \
spk_ttyio.o \ spk_ttyio.o \
synth.o \ synth.o \
thread.o \ thread.o \
varhandlers.o varhandlers.o
speakup-$(CONFIG_SPEAKUP_SERIALIO) += serialio.o
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment