From patchwork Tue Jun 8 06:34:08 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: Tracing backends : Fix for building with --prefix Date: Mon, 07 Jun 2010 20:34:08 -0000 From: Prerna Saxena X-Patchwork-Id: 54935 Message-Id: <20100608120408.77258567@zephyr> To: Stefan Hajnoczi Cc: Jan Kiszka , Anthony Liguori , qemu-devel@nongnu.org, kvm@vger.kernel.org, Avi Kivity This patch is a minor fix over Stefan's tracing framework, to enable compilation when the build directory is different from source. Signed-off-by: Prerna Saxena --- Makefile | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a9f79a9..ef4ae55 100644 --- a/Makefile +++ b/Makefile @@ -130,10 +130,10 @@ bt-host.o: QEMU_CFLAGS += $(BLUEZ_CFLAGS) iov.o: iov.c iov.h -trace.h: trace-events +trace.h: $(SRC_PATH)/trace-events $(call quiet-command,sh $(SRC_PATH)/tracetool --$(TRACE_BACKEND) -h < $< > $@," GEN $@") -trace.c: trace-events +trace.c: $(SRC_PATH)/trace-events $(call quiet-command,sh $(SRC_PATH)/tracetool --$(TRACE_BACKEND) -c < $< > $@," GEN $@") trace.o: trace.c