From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:53765) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qyo29-0001Mr-DY for qemu-devel@nongnu.org; Wed, 31 Aug 2011 12:53:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qyo27-0000Z6-Og for qemu-devel@nongnu.org; Wed, 31 Aug 2011 12:53:01 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]:40072) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Qyo27-0000Ym-Co for qemu-devel@nongnu.org; Wed, 31 Aug 2011 12:52:59 -0400 From: =?utf-8?b?TGx1w61z?= Date: Wed, 31 Aug 2011 18:52:34 +0200 Message-ID: <20110831165233.4389.20405.stgit@ginnungagap.bsc.es> In-Reply-To: <20110831165206.4389.17250.stgit@ginnungagap.bsc.es> References: <20110831165206.4389.17250.stgit@ginnungagap.bsc.es> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH v8 04/14] trace: [make] replace 'ifeq' with values in CONFIG_TRACE_* List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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