From 9f376df1b2832cfc49e39036d770e0ff24a6dd53 Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Wed, 7 Oct 2009 02:41:10 +0200 Subject: Only compile esp when one target uses it Patchworks-ID: 35206 Signed-off-by: Juan Quintela Signed-off-by: Anthony Liguori --- Makefile.hw | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile.hw') 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 -- cgit v1.2.3