Only compile isa_mmio when one target uses it

Patchworks-ID: 35200
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Juan Quintela 2009-10-07 02:41:06 +02:00 committed by Anthony Liguori
parent 642575843f
commit 185c66c81d
10 changed files with 16 additions and 3 deletions

View File

@ -154,13 +154,12 @@ endif #CONFIG_BSD_USER
# System emulator target
ifdef CONFIG_SOFTMMU
obj-y = vl.o monitor.o pci.o isa_mmio.o machine.o \
gdbstub.o
obj-y = vl.o monitor.o pci.o machine.o gdbstub.o
# virtio has to be here due to weird dependency between PCI and virtio-net.
# need to fix this properly
obj-y += virtio-blk.o virtio-balloon.o virtio-net.o virtio-console.o virtio-pci.o
obj-$(CONFIG_KVM) += kvm.o kvm-all.o
obj-$(CONFIG_ISA_MMIO) += isa_mmio.o
LIBS+=-lz
sound-obj-y =

View File

@ -2,3 +2,4 @@
CONFIG_GDBSTUB_XML=y
CONFIG_USB_OHCI=y
CONFIG_ISA_MMIO=y

View File

@ -1 +1,3 @@
# Default configuration for mips-softmmu
CONFIG_ISA_MMIO=y

View File

@ -1 +1,3 @@
# Default configuration for mips64-softmmu
CONFIG_ISA_MMIO=y

View File

@ -1 +1,3 @@
# Default configuration for mips64el-softmmu
CONFIG_ISA_MMIO=y

View File

@ -1 +1,3 @@
# Default configuration for mipsel-softmmu
CONFIG_ISA_MMIO=y

View File

@ -2,3 +2,4 @@
CONFIG_GDBSTUB_XML=y
CONFIG_USB_OHCI=y
CONFIG_ISA_MMIO=y

View File

@ -2,3 +2,4 @@
CONFIG_GDBSTUB_XML=y
CONFIG_USB_OHCI=y
CONFIG_ISA_MMIO=y

View File

@ -2,3 +2,4 @@
CONFIG_GDBSTUB_XML=y
CONFIG_USB_OHCI=y
CONFIG_ISA_MMIO=y

View File

@ -1 +1,3 @@
# Default configuration for sparc64-softmmu
CONFIG_ISA_MMIO=y