Patchwork [02/15] build: [simple] Include qemu-timer-common.o in trace-obj-y

login
register
mail settings
Submitter Stefan Hajnoczi
Date Sept. 1, 2011, 8:06 a.m.
Message ID <1314864386-14202-3-git-send-email-stefanha@linux.vnet.ibm.com>
Download mbox | patch
Permalink /patch/112840/
State New
Headers show

Comments

Stefan Hajnoczi - Sept. 1, 2011, 8:06 a.m.
From: Lluís <xscript@gmx.net>

Helper programs like qemu-ga use tracing primitives, but qemu-timer-common.o
(also used by simpletrace.o) is not necessarily included in the linkage line.

Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
---
 Makefile.objs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/Makefile.objs b/Makefile.objs
index d1f3e5d..44d7238 100644
--- a/Makefile.objs
+++ b/Makefile.objs
@@ -380,7 +380,7 @@  else
 trace-obj-y = trace.o
 ifeq ($(TRACE_BACKEND),simple)
 trace-obj-y += simpletrace.o
-user-obj-y += qemu-timer-common.o
+trace-obj-y += qemu-timer-common.o
 endif
 endif