build: fix missing trace dep on GENERATED_HEADERS
authorMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 7 Sep 2011 23:40:51 +0000 (18:40 -0500)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 9 Sep 2011 17:58:17 +0000 (12:58 -0500)
fc764105 added an include for qemu-common.h to trace/control.h, which
made all users of this header file dependent on GENERATED_HEADERS. Since
it's used by pretty much all the trace backends now, make trace-obj-y
dependent on GENERATED_HEADERS.

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Makefile.objs

index 26b885b..a529a11 100644 (file)
@@ -390,6 +390,8 @@ trace-nested-y += control.o
 
 trace-obj-y += $(addprefix trace/, $(trace-nested-y))
 
+$(trace-obj-y): $(GENERATED_HEADERS)
+
 ######################################################################
 # smartcard