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>
This commit is contained in:
Juan Quintela 2009-10-07 02:41:11 +02:00 committed by Anthony Liguori
parent 9f376df1b2
commit 2f3c407d81
5 changed files with 7 additions and 1 deletions

View File

@ -19,7 +19,8 @@ obj-y += watchdog.o
obj-$(CONFIG_ECC) += ecc.o obj-$(CONFIG_ECC) += ecc.o
obj-$(CONFIG_NAND) += nand.o obj-$(CONFIG_NAND) += nand.o
obj-y += m48t59.o escc.o obj-y += m48t59.o
obj-$(CONFIG_ESCC) += escc.o
# PCI watchdog devices # PCI watchdog devices
obj-y += wdt_i6300esb.o obj-y += wdt_i6300esb.o

View File

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

View File

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

View File

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

View File

@ -3,3 +3,5 @@
CONFIG_QDEV_ADDR=y CONFIG_QDEV_ADDR=y
CONFIG_ECC=y CONFIG_ECC=y
CONFIG_ESP=y CONFIG_ESP=y
CONFIG_ESCC=y