Patchwork [simple] Include qemu-timer-common.o in trace-obj-y

login
register
mail settings
Submitter =?utf-8?Q?Llu=C3=ADs?=
Date Aug. 24, 2011, 7:53 p.m.
Message ID <20110824195317.14304.63305.stgit@ginnungagap.bsc.es>
Download mbox | patch
Permalink /patch/111419/
State New
Headers show

Comments

=?utf-8?Q?Llu=C3=ADs?= - Aug. 24, 2011, 7:53 p.m.
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.

This currently produces a warning when linking the *-softmmu programs.

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