]> git.proxmox.com Git - qemu.git/commitdiff
Only compile ecc when one target uses it
authorJuan Quintela <quintela@redhat.com>
Wed, 7 Oct 2009 00:41:09 +0000 (02:41 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 9 Oct 2009 02:17:12 +0000 (21:17 -0500)
Patchworks-ID: 35203
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Makefile.hw
default-configs/arm-softmmu.mak
default-configs/sparc-softmmu.mak

index 88b59b2a2061bbaf58b47b8b81b53abbdf29b9d6..9358777d6ac5334d83d7eba84ce1c4f414c174fd 100644 (file)
@@ -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
index c15ac7f278e5611e3d872b0dfdabf0866f3f5c33..9ac6f31891618e63f6a5f9ced84269c474b09fa3 100644 (file)
@@ -4,3 +4,4 @@ CONFIG_GDBSTUB_XML=y
 CONFIG_USB_OHCI=y
 CONFIG_ISA_MMIO=y
 CONFIG_NAND=y
+CONFIG_ECC=y
index dc5183963b689015c43621233b922b45dc31784a..25abbd92320a9e16196021840cd1f50f549d6320 100644 (file)
@@ -1,3 +1,4 @@
 # Default configuration for sparc-softmmu
 
 CONFIG_QDEV_ADDR=y
+CONFIG_ECC=y