* [Qemu-devel] [PATCH] trace: Use GENERATED_HEADERS dependencies
@ 2010-06-29 9:51 Stefan Hajnoczi
0 siblings, 0 replies; only message in thread
From: Stefan Hajnoczi @ 2010-06-29 9:51 UTC (permalink / raw)
To: qemu-devel; +Cc: Stefan Hajnoczi, Prerna Saxena
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 <stefanha@linux.vnet.ibm.com>
---
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)
######################################################################
--
1.7.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-06-29 9:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-29 9:51 [Qemu-devel] [PATCH] trace: Use GENERATED_HEADERS dependencies Stefan Hajnoczi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).