From patchwork Wed Aug 31 16:52:34 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [v8, 04/14] trace: [make] replace 'ifeq' with values in CONFIG_TRACE_* Date: Wed, 31 Aug 2011 06:52:34 -0000 From: =?utf-8?Q?Llu=C3=ADs?= X-Patchwork-Id: 112618 Message-Id: <20110831165233.4389.20405.stgit@ginnungagap.bsc.es> To: qemu-devel@nongnu.org, chouteau@adacore.com Cc: stefanha@gmail.com Signed-off-by: LluĂ­s Vilanova --- 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