summary refs log tree commit diff stats
path: root/hw/intc
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2019-12-31 19:32:04 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2020-01-07 12:08:39 +0100
commit48ca2c4aa174aebedfdd64369697e467e30ffd22 (patch)
tree3dcd89f79e5681bdae75e7d9b0ab2707aab55176 /hw/intc
parentbe3d7ee960143959c5866daf15f2ab93f3f282b8 (diff)
downloadfocaccia-qemu-48ca2c4aa174aebedfdd64369697e467e30ffd22.tar.gz
focaccia-qemu-48ca2c4aa174aebedfdd64369697e467e30ffd22.zip
hw/intc/i8259: Fix Kconfig dependency on ISA bus
The 8259 Interrupt Controller sits on a ISA bus.
Add the missing dependency to fix:

    LINK    x86_64-softmmu/qemu-system-x86_64
  /usr/bin/ld: ../hw/intc/i8259_common.o: in function `pic_common_realize':
  hw/intc/i8259_common.c:84: undefined reference to `isa_register_ioport'
  /usr/bin/ld: hw/intc/i8259_common.c:86: undefined reference to `isa_register_ioport'
  /usr/bin/ld: ../hw/intc/i8259_common.o: in function `i8259_init_chip':
  hw/intc/i8259_common.c:97: undefined reference to `isa_create'
  collect2: error: ld returned 1 exit status
  make[1]: *** [Makefile:206: qemu-system-x86_64] Error 1

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20191231183216.6781-3-philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/intc')
-rw-r--r--hw/intc/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/intc/Kconfig b/hw/intc/Kconfig
index 10a680b53a..a189d6fedd 100644
--- a/hw/intc/Kconfig
+++ b/hw/intc/Kconfig
@@ -3,6 +3,7 @@ config HEATHROW_PIC
 
 config I8259
     bool
+    select ISA_BUS
 
 config PL190
     bool