[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 04/15] trace: [make] replace 'ifeq' with values in C
From: |
Stefan Hajnoczi |
Subject: |
[Qemu-devel] [PATCH 04/15] trace: [make] replace 'ifeq' with values in CONFIG_TRACE_* |
Date: |
Thu, 1 Sep 2011 09:06:15 +0100 |
From: Lluís <address@hidden>
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
--
1.7.5.4
- [Qemu-devel] [PULL 00/15] Tracing patches, Stefan Hajnoczi, 2011/09/01
- [Qemu-devel] [PATCH 03/15] trace: [configure] rename CONFIG_*_TRACE into CONFIG_TRACE_*, Stefan Hajnoczi, 2011/09/01
- [Qemu-devel] [PATCH 09/15] trace: always compile support for controlling and querying trace event states, Stefan Hajnoczi, 2011/09/01
- [Qemu-devel] [PATCH 15/15] simpletrace: fix process() argument count, Stefan Hajnoczi, 2011/09/01
- [Qemu-devel] [PATCH 12/15] trace: [simple] disable all trace points by default, Stefan Hajnoczi, 2011/09/01
- [Qemu-devel] [PATCH 08/15] trace: separate trace event control and query routines from the simple backend, Stefan Hajnoczi, 2011/09/01
- [Qemu-devel] [PATCH 04/15] trace: [make] replace 'ifeq' with values in CONFIG_TRACE_*,
Stefan Hajnoczi <=
- [Qemu-devel] [PATCH 02/15] build: [simple] Include qemu-timer-common.o in trace-obj-y, Stefan Hajnoczi, 2011/09/01
- [Qemu-devel] [PATCH 10/15] trace: add "-trace events" argument to control initial state, Stefan Hajnoczi, 2011/09/01
- [Qemu-devel] [PATCH 05/15] trace: move backend-specific code into the trace/ directory, Stefan Hajnoczi, 2011/09/01
- [Qemu-devel] [PATCH 11/15] trace: always use the "nop" backend on events with the "disable" keyword, Stefan Hajnoczi, 2011/09/01
- [Qemu-devel] [PATCH 01/15] build: Fix linkage of QEMU_PROG, Stefan Hajnoczi, 2011/09/01
- [Qemu-devel] [PATCH 06/15] trace: avoid conditional code compilation during option parsing, Stefan Hajnoczi, 2011/09/01
- [Qemu-devel] [PATCH 14/15] trace: enable all events, Stefan Hajnoczi, 2011/09/01
- [Qemu-devel] [PATCH 13/15] trace: [stderr] add support for dynamically enabling/disabling events, Stefan Hajnoczi, 2011/09/01
- [Qemu-devel] [PATCH 07/15] trace: generalize the "property" concept in the trace-events file, Stefan Hajnoczi, 2011/09/01
- Re: [Qemu-devel] [PULL 00/15] Tracing patches, Anthony Liguori, 2011/09/01