aboutsummaryrefslogtreecommitdiff
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
commit9f376df1b2832cfc49e39036d770e0ff24a6dd53 (patch)
tree2865abd1dc2de033637b1df5cc7f69598a68f57b /Makefile.hw
parent065c7a36dfb258f74c58cc518cb0184f4ba90200 (diff)
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