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>
This commit is contained in:
Juan Quintela 2009-10-07 02:41:07 +02:00 committed by Anthony Liguori
parent 185c66c81d
commit 86e1d113da
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -1 +1,3 @@
# Default configuration for sparc-softmmu
CONFIG_QDEV_ADDR=y