summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-10-07 02:41:07 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-08 21:17:11 -0500
commit86e1d113da0a20481a63febd51c7a613985a113f (patch)
tree67939c03ac27674a4c70df5abb1ccbdb1cc39c5f
parentOnly compile isa_mmio when one target uses it (diff)
downloadqemu-kvm-86e1d113da0a20481a63febd51c7a613985a113f.tar.gz
qemu-kvm-86e1d113da0a20481a63febd51c7a613985a113f.tar.bz2
qemu-kvm-86e1d113da0a20481a63febd51c7a613985a113f.zip
Only compile qdev_addr when one target uses it
Patchworks-ID: 35201 Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r--Makefile.hw3
-rw-r--r--default-configs/sparc-softmmu.mak2
2 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.hw b/Makefile.hw
index 2b4ef03e0..ba2d39051 100644
--- a/Makefile.hw
+++ b/Makefile.hw
@@ -31,7 +31,8 @@ obj-y += ne2000.o
# SCSI layer
obj-y += lsi53c895a.o esp.o
-obj-y += dma-helpers.o sysbus.o qdev-addr.o isa-bus.o
+obj-y += dma-helpers.o sysbus.o isa-bus.o
+obj-$(CONFIG_QDEV_ADDR) += qdev-addr.o
all: $(HWLIB)
# Dummy command so that make thinks it has done something
diff --git a/default-configs/sparc-softmmu.mak b/default-configs/sparc-softmmu.mak
index 2e0e62194..dc5183963 100644
--- a/default-configs/sparc-softmmu.mak
+++ b/default-configs/sparc-softmmu.mak
@@ -1 +1,3 @@
# Default configuration for sparc-softmmu
+
+CONFIG_QDEV_ADDR=y