From: Michael Roth Date: Wed, 7 Sep 2011 23:40:51 +0000 (-0500) Subject: build: fix missing trace dep on GENERATED_HEADERS X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=5689dc6557cecfd4318dea5490ecac4967081aed;p=qemu.git 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 Reviewed-by: Stefan Hajnoczi Signed-off-by: Michael Roth Signed-off-by: Anthony Liguori --- 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