summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-10-07 02:41:13 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-08 21:17:13 -0500
commit5f74377c3d3a5b9cbc55e01966b57ba0d7b11a60 (patch)
treed01dd961a524ce5594c6619347d73df8bd9d7498 /Makefile
parent626b2a65d6c5c17ff6917b711fc6d4fdc842b4fd (diff)
downloadqemu-5f74377c3d3a5b9cbc55e01966b57ba0d7b11a60.tar.gz
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a5a17d1988..204a34f437 100644
--- a/Makefile
+++ b/Makefile
@@ -96,7 +96,8 @@ obj-y = $(block-obj-y)
obj-y += readline.o console.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 += ssd0303.o ssd0323.o ads7846.o stellaris_input.o twl92230.o
obj-y += tmp105.o lm832x.o eeprom93xx.o tsc2005.o