summaryrefslogtreecommitdiff
path: root/Makefile.hw
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-10-07 02:41:09 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-08 21:17:12 -0500
commit3f4945c3bb673db19aeb1441a5e6417af268de7d (patch)
tree23749b8b6a32b1a097f436c750a9d6a32f37bba0 /Makefile.hw
parentb3e289618ac6e470b676bf793e404a4f1088139a (diff)
downloadqemu-3f4945c3bb673db19aeb1441a5e6417af268de7d.tar.gz
qemu-3f4945c3bb673db19aeb1441a5e6417af268de7d.tar.bz2
qemu-3f4945c3bb673db19aeb1441a5e6417af268de7d.zip
Only compile ecc when one target uses it
Patchworks-ID: 35203 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.hw2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.hw b/Makefile.hw
index 88b59b2a20..9358777d6a 100644
--- a/Makefile.hw
+++ b/Makefile.hw
@@ -16,7 +16,7 @@ obj-y += loader.o
obj-y += virtio.o
obj-y += fw_cfg.o
obj-y += watchdog.o
-obj-y += ecc.o
+obj-$(CONFIG_ECC) += ecc.o
obj-$(CONFIG_NAND) += nand.o
obj-y += m48t59.o escc.o