summaryrefslogtreecommitdiff
path: root/Makefile.objs
diff options
context:
space:
mode:
authorMichael Roth <mdroth@linux.vnet.ibm.com>2011-09-07 18:40:51 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2011-09-09 12:58:17 -0500
commit5689dc6557cecfd4318dea5490ecac4967081aed (patch)
treed4a5eeb56113f6cd4fcc75f3f8099849aedd1050 /Makefile.objs
parentf40d55081667a716312b9a8b6e13835c4074f56b (diff)
downloadqemu-5689dc6557cecfd4318dea5490ecac4967081aed.tar.gz
build: fix missing trace dep on GENERATED_HEADERS
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>
Diffstat (limited to 'Makefile.objs')
-rw-r--r--Makefile.objs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.objs b/Makefile.objs
index 26b885bfeb..a529a11e7f 100644
--- a/Makefile.objs
+++ b/Makefile.objs
@@ -390,6 +390,8 @@ trace-nested-y += control.o
trace-obj-y += $(addprefix trace/, $(trace-nested-y))
+$(trace-obj-y): $(GENERATED_HEADERS)
+
######################################################################
# smartcard