[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v9 04/14] trace: [make] replace 'ifeq' with values i
From: |
Lluís |
Subject: |
[Qemu-devel] [PATCH v9 04/14] trace: [make] replace 'ifeq' with values in CONFIG_TRACE_* |
Date: |
Wed, 31 Aug 2011 20:30:50 +0200 |
User-agent: |
StGit/0.15 |
Signed-off-by: Lluís Vilanova <address@hidden>
---
Makefile.objs | 12 +++++-------
1 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/Makefile.objs b/Makefile.objs
index 44d7238..833158b 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
- [Qemu-devel] [PATCH v9 00/14] trace-state: make the behaviour of "disable" consistent across all backends, Lluís, 2011/08/31
- [Qemu-devel] [PATCH v9 01/14] build: Fix linkage of QEMU_PROG, Lluís, 2011/08/31
- [Qemu-devel] [PATCH v9 02/14] build: [simple] Include qemu-timer-common.o in trace-obj-y, Lluís, 2011/08/31
- [Qemu-devel] [PATCH v9 03/14] trace: [configure] rename CONFIG_*_TRACE into CONFIG_TRACE_*, Lluís, 2011/08/31
- [Qemu-devel] [PATCH v9 04/14] trace: [make] replace 'ifeq' with values in CONFIG_TRACE_*,
Lluís <=
- [Qemu-devel] [PATCH v9 05/14] trace: move backend-specific code into the trace/ directory, Lluís, 2011/08/31
- [Qemu-devel] [PATCH v9 06/14] trace: avoid conditional code compilation during option parsing, Lluís, 2011/08/31
- [Qemu-devel] [PATCH v9 08/14] trace-state: separate trace event control and query routines from the simple backend, Lluís, 2011/08/31
- [Qemu-devel] [PATCH v9 07/14] trace: generalize the "property" concept in the trace-events file, Lluís, 2011/08/31
- [Qemu-devel] [PATCH v9 09/14] trace-state: always compile support for controlling and querying trace event states, Lluís, 2011/08/31
- [Qemu-devel] [PATCH v9 11/14] trace-state: always use the "nop" backend on events with the "disable" keyword, Lluís, 2011/08/31
- [Qemu-devel] [PATCH v9 12/14] trace-state: [simple] disable all trace points by default, Lluís, 2011/08/31
- [Qemu-devel] [PATCH v9 13/14] trace-state: [stderr] add support for dynamically enabling/disabling events, Lluís, 2011/08/31
- [Qemu-devel] [PATCH v9 10/14] trace-state: add "-trace events" argument to control initial state, Lluís, 2011/08/31
- [Qemu-devel] [PATCH v9 14/14] trace: enable all events, Lluís, 2011/08/31