Patchwork Makefile.target: code stp dependency on trace-events

login
register
mail settings
Submitter Alon Levy
Date March 18, 2012, 7:47 a.m.
Message ID <1332056835-21143-1-git-send-email-alevy@redhat.com>
Download mbox | patch
Permalink /patch/147354/
State New
Headers show

Comments

Alon Levy - March 18, 2012, 7:47 a.m.
Signed-off-by: Alon Levy <alevy@redhat.com>
---
 Makefile.target |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Stefan Hajnoczi - March 19, 2012, 12:28 p.m.
On Sun, Mar 18, 2012 at 08:47:15AM +0100, Alon Levy wrote:
> Signed-off-by: Alon Levy <alevy@redhat.com>
> ---
>  Makefile.target |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Nice catch, thanks!

Applied to the tracing patches tree:
https://github.com/stefanha/qemu/commits/tracing

Stefan

Patch

diff --git a/Makefile.target b/Makefile.target
index eb25941..5c62edb 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -58,7 +58,7 @@  else
 TARGET_TYPE=system
 endif
 
-$(QEMU_PROG).stp:
+$(QEMU_PROG).stp: $(SRC_PATH)/trace-events
 	$(call quiet-command,sh $(SRC_PATH)/scripts/tracetool \
 		--$(TRACE_BACKEND) \
 		--binary $(bindir)/$(QEMU_PROG) \