Only compile ptimer when one target uses it

Patchworks-ID: 35207
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:13 +02:00 committed by Anthony Liguori
parent 626b2a65d6
commit 5f74377c3d
9 changed files with 11 additions and 1 deletions

View File

@ -96,7 +96,8 @@ obj-y = $(block-obj-y)
obj-y += readline.o console.o obj-y += readline.o console.o
obj-y += tcg-runtime.o host-utils.o obj-y += tcg-runtime.o host-utils.o
obj-y += irq.o ptimer.o ioport.o obj-y += irq.o ioport.o
obj-$(CONFIG_PTIMER) += ptimer.o
obj-y += i2c.o smbus.o smbus_eeprom.o max7310.o max111x.o wm8750.o obj-y += i2c.o smbus.o smbus_eeprom.o max7310.o max111x.o wm8750.o
obj-y += ssd0303.o ssd0323.o ads7846.o stellaris_input.o twl92230.o obj-y += ssd0303.o ssd0323.o ads7846.o stellaris_input.o twl92230.o
obj-y += tmp105.o lm832x.o eeprom93xx.o tsc2005.o obj-y += tmp105.o lm832x.o eeprom93xx.o tsc2005.o

View File

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

View File

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

View File

@ -1,3 +1,4 @@
# Default configuration for m68k-softmmu # Default configuration for m68k-softmmu
CONFIG_GDBSTUB_XML=y CONFIG_GDBSTUB_XML=y
CONFIG_PTIMER=y

View File

@ -1 +1,3 @@
# Default configuration for microblaze-softmmu # Default configuration for microblaze-softmmu
CONFIG_PTIMER=y

View File

@ -1,3 +1,4 @@
# Default configuration for sh4-softmmu # Default configuration for sh4-softmmu
CONFIG_USB_OHCI=y CONFIG_USB_OHCI=y
CONFIG_PTIMER=y

View File

@ -1,3 +1,4 @@
# Default configuration for sh4eb-softmmu # Default configuration for sh4eb-softmmu
CONFIG_USB_OHCI=y CONFIG_USB_OHCI=y
CONFIG_PTIMER=y

View File

@ -5,3 +5,4 @@ CONFIG_ECC=y
CONFIG_ESP=y CONFIG_ESP=y
CONFIG_ESCC=y CONFIG_ESCC=y
CONFIG_M48T59=y CONFIG_M48T59=y
CONFIG_PTIMER=y

View File

@ -2,3 +2,4 @@
CONFIG_ISA_MMIO=y CONFIG_ISA_MMIO=y
CONFIG_M48T59=y CONFIG_M48T59=y
CONFIG_PTIMER=y