Only compile nand when one target uses it

Patchworks-ID: 35202
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:08 +02:00 committed by Anthony Liguori
parent 86e1d113da
commit 7807feeff9
3 changed files with 5 additions and 1 deletions

View File

@ -16,7 +16,8 @@ obj-y += loader.o
obj-y += virtio.o
obj-y += fw_cfg.o
obj-y += watchdog.o
obj-y += nand.o ecc.o
obj-y += ecc.o
obj-$(CONFIG_NAND) += nand.o
obj-y += m48t59.o escc.o

View File

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

View File

@ -1 +1,3 @@
# Default configuration for cris-softmmu
CONFIG_NAND=y