aboutsummaryrefslogtreecommitdiff
path: root/hw/isa/Makefile.objs
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2019-09-30 17:04:36 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2019-10-04 18:49:16 +0200
commitc0ff379514347b1656c366ff2e878c041048231b (patch)
tree06d347a7f551caf607f5821cb0117395e00abe09 /hw/isa/Makefile.objs
parent86cf9e154632cb28d749db0ea47946fba8cf3f09 (diff)
downloadqemu-c0ff379514347b1656c366ff2e878c041048231b.zip
qemu-c0ff379514347b1656c366ff2e878c041048231b.tar.gz
qemu-c0ff379514347b1656c366ff2e878c041048231b.tar.bz2
hw/isa: Introduce a CONFIG_ISA_SUPERIO switch for isa-superio.c
Currently, isa-superio.c is always compiled as soon as CONFIG_ISA_BUS is enabled. But there are also machines that have an ISA BUS without any of the superio chips attached to it, so we should not compile isa-superio.c in case we only compile a QEMU for such a machine. Thus add a proper CONFIG_ISA_SUPERIO switch so that this file only gets compiled when we really, really need it. Signed-off-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/isa/Makefile.objs')
-rw-r--r--hw/isa/Makefile.objs2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/isa/Makefile.objs b/hw/isa/Makefile.objs
index 9e106df..ff97485 100644
--- a/hw/isa/Makefile.objs
+++ b/hw/isa/Makefile.objs
@@ -1,5 +1,5 @@
common-obj-$(CONFIG_ISA_BUS) += isa-bus.o
-common-obj-$(CONFIG_ISA_BUS) += isa-superio.o
+common-obj-$(CONFIG_ISA_SUPERIO) += isa-superio.o
common-obj-$(CONFIG_APM) += apm.o
common-obj-$(CONFIG_I82378) += i82378.o
common-obj-$(CONFIG_PC87312) += pc87312.o