summaryrefslogtreecommitdiff
path: root/Makefile.hw
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-10-07 02:41:10 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-08 21:17:12 -0500
commitc1201130e92fcdb981ef4a056a0373d8cd250b9d (patch)
tree2865abd1dc2de033637b1df5cc7f69598a68f57b /Makefile.hw
parent3f4945c3bb673db19aeb1441a5e6417af268de7d (diff)
downloadqemu-c1201130e92fcdb981ef4a056a0373d8cd250b9d.tar.gz
qemu-c1201130e92fcdb981ef4a056a0373d8cd250b9d.tar.bz2
qemu-c1201130e92fcdb981ef4a056a0373d8cd250b9d.zip
Only compile esp when one target uses it
Patchworks-ID: 35206 Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'Makefile.hw')
-rw-r--r--Makefile.hw3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.hw b/Makefile.hw
index 9358777d6a..354d889084 100644
--- a/Makefile.hw
+++ b/Makefile.hw
@@ -30,7 +30,8 @@ obj-y += msix.o
obj-y += ne2000.o
# SCSI layer
-obj-y += lsi53c895a.o esp.o
+obj-y += lsi53c895a.o
+obj-$(CONFIG_ESP) += esp.o
obj-y += dma-helpers.o sysbus.o isa-bus.o
obj-$(CONFIG_QDEV_ADDR) += qdev-addr.o