From patchwork Tue Jun 29 09:51:42 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Hajnoczi X-Patchwork-Id: 57258 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 40883B6F01 for ; Tue, 29 Jun 2010 19:54:59 +1000 (EST) Received: from localhost ([127.0.0.1]:44817 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OTXWq-0000HM-QO for incoming@patchwork.ozlabs.org; Tue, 29 Jun 2010 05:54:56 -0400 Received: from [140.186.70.92] (port=50176 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OTXU3-00084q-O6 for qemu-devel@nongnu.org; Tue, 29 Jun 2010 05:52:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OTXU2-0005h3-7e for qemu-devel@nongnu.org; Tue, 29 Jun 2010 05:52:03 -0400 Received: from mtagate4.de.ibm.com ([195.212.17.164]:51834) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OTXU1-0005gc-RL for qemu-devel@nongnu.org; Tue, 29 Jun 2010 05:52:02 -0400 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate4.de.ibm.com (8.13.1/8.13.1) with ESMTP id o5T9pvkE004154 for ; Tue, 29 Jun 2010 09:51:57 GMT Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o5T9ppD81687600 for ; Tue, 29 Jun 2010 11:51:57 +0200 Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id o5T9pplE004813 for ; Tue, 29 Jun 2010 11:51:51 +0200 Received: from stefan-thinkpad.manchester-maybrook.uk.ibm.com (dyn-9-174-219-49.manchester-maybrook.uk.ibm.com [9.174.219.49]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id o5T9por2004810; Tue, 29 Jun 2010 11:51:50 +0200 From: Stefan Hajnoczi To: Date: Tue, 29 Jun 2010 10:51:42 +0100 Message-Id: <1277805102-22823-1-git-send-email-stefanha@linux.vnet.ibm.com> X-Mailer: git-send-email 1.7.1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Cc: Stefan Hajnoczi , Prerna Saxena Subject: [Qemu-devel] [PATCH] trace: Use GENERATED_HEADERS dependencies X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Generated header files including trace.h and config-host.h are required for building trace code. Instead of explictly specifying these files, use the GENERATED_HEADERS variable that is also used elsewhere. Signed-off-by: Stefan Hajnoczi --- This patch applies against the tracing branch: http://repo.or.cz/w/qemu/stefanha.git/shortlog/refs/heads/tracing Makefile | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index de9b175..8831174 100644 --- a/Makefile +++ b/Makefile @@ -138,9 +138,9 @@ trace.h: $(SRC_PATH)/trace-events trace.c: $(SRC_PATH)/trace-events $(call quiet-command,sh $(SRC_PATH)/tracetool --$(TRACE_BACKEND) -c < $< > $@," GEN $@") -trace.o: trace.c trace.h +trace.o: trace.c $(GENERATED_HEADERS) -simpletrace.o: simpletrace.c trace.h +simpletrace.o: simpletrace.c $(GENERATED_HEADERS) ######################################################################