summaryrefslogtreecommitdiffstats
path: root/Makefile.objs
diff options
context:
space:
mode:
authorLluís2011-08-31 20:30:50 +0200
committerStefan Hajnoczi2011-09-01 11:34:53 +0200
commit09001ee7b27b9b5f049362efc427d03e2186a431 (patch)
tree85060e0a21ce08183fddacabf0b1420e9566ead2 /Makefile.objs
parenttrace: [configure] rename CONFIG_*_TRACE into CONFIG_TRACE_* (diff)
downloadqemu-09001ee7b27b9b5f049362efc427d03e2186a431.tar.gz
qemu-09001ee7b27b9b5f049362efc427d03e2186a431.tar.xz
qemu-09001ee7b27b9b5f049362efc427d03e2186a431.zip
trace: [make] replace 'ifeq' with values in CONFIG_TRACE_*
Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
Diffstat (limited to 'Makefile.objs')
-rw-r--r--Makefile.objs12
1 files changed, 5 insertions, 7 deletions
diff --git a/Makefile.objs b/Makefile.objs
index 44d72381c0..833158b1b6 100644
--- a/Makefile.objs
+++ b/Makefile.objs
@@ -374,16 +374,14 @@ endif
simpletrace.o: simpletrace.c $(GENERATED_HEADERS)
-ifeq ($(TRACE_BACKEND),dtrace)
-trace-obj-y = trace-dtrace.o
-else
+trace-obj-$(CONFIG_TRACE_DTRACE) += trace-dtrace.o
+ifneq ($(TRACE_BACKEND),dtrace)
trace-obj-y = trace.o
-ifeq ($(TRACE_BACKEND),simple)
-trace-obj-y += simpletrace.o
-trace-obj-y += qemu-timer-common.o
-endif
endif
+trace-obj-$(CONFIG_TRACE_SIMPLE) += simpletrace.o
+trace-obj-$(CONFIG_TRACE_SIMPLE) += qemu-timer-common.o
+
######################################################################
# smartcard