aboutsummaryrefslogtreecommitdiff
path: root/hw/input/Kconfig
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2019-04-11 20:22:40 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2019-05-15 11:56:53 +0200
commitb92be8d0920021fca4cfac90e552a74ce066a0a3 (patch)
treeb4e27f2909de8436eb41589390b37f9487da4b39 /hw/input/Kconfig
parente329ad2ab72c43b56df88b34954c2c7d839bb373 (diff)
hw/input: Add a CONFIG_PS2 switch for the ps2.c file
ps2.c only needs to be compiled if we are building pckbd.c or pl050.c. Signed-off-by: Thomas Huth <thuth@redhat.com> Message-Id: <20190411182240.5957-1-thuth@redhat.com> Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/input/Kconfig')
-rw-r--r--hw/input/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/input/Kconfig b/hw/input/Kconfig
index 889363d8ae..287f08887b 100644
--- a/hw/input/Kconfig
+++ b/hw/input/Kconfig
@@ -8,10 +8,15 @@ config LM832X
config PCKBD
bool
default y
+ select PS2
depends on ISA_BUS
config PL050
bool
+ select PS2
+
+config PS2
+ bool
config STELLARIS_INPUT
bool