aboutsummaryrefslogtreecommitdiff
path: root/Makefile.hw
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-10-07 02:41:11 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-08 21:17:12 -0500
commit2f3c407d81fb4ee4d050c8a8376101b167c0d0c4 (patch)
treee013c4435fef0a5bf6c4556f84740dbb4a40c0f9 /Makefile.hw
parent9f376df1b2832cfc49e39036d770e0ff24a6dd53 (diff)
Only compile escc when one target uses it
Patchworks-ID: 35205 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 354d889084..9e40439c35 100644
--- a/Makefile.hw
+++ b/Makefile.hw
@@ -19,7 +19,8 @@ obj-y += watchdog.o
obj-$(CONFIG_ECC) += ecc.o
obj-$(CONFIG_NAND) += nand.o
-obj-y += m48t59.o escc.o
+obj-y += m48t59.o
+obj-$(CONFIG_ESCC) += escc.o
# PCI watchdog devices
obj-y += wdt_i6300esb.o