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>
This commit is contained in:
Juan Quintela 2009-10-07 02:41:09 +02:00 committed by Anthony Liguori
parent 7807feeff9
commit 065c7a36df
3 changed files with 3 additions and 1 deletions

View 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

View File

@ -4,3 +4,4 @@ CONFIG_GDBSTUB_XML=y
CONFIG_USB_OHCI=y
CONFIG_ISA_MMIO=y
CONFIG_NAND=y
CONFIG_ECC=y

View File

@ -1,3 +1,4 @@
# Default configuration for sparc-softmmu
CONFIG_QDEV_ADDR=y
CONFIG_ECC=y