]> Git Repo - qemu.git/commitdiff
trace: Only link generated-tracers.o with "simple" backend
authorFam Zheng <[email protected]>
Wed, 3 Sep 2014 03:44:54 +0000 (11:44 +0800)
committerPaolo Bonzini <[email protected]>
Tue, 9 Sep 2014 11:13:05 +0000 (13:13 +0200)
In any other cases the object file is effectively empty, which is
disliked by ranlib and nm on Mac OS X.

Reported-by: Peter Maydell <[email protected]>
Tested-by: Peter Maydell <[email protected]>
Signed-off-by: Fam Zheng <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
trace/Makefile.objs

index 387f191fd46c7b6cbccaa261c2141546254257c3..46de95c1a653f11c721b41c42d4264a0c6c82fa6 100644 (file)
@@ -140,8 +140,7 @@ $(obj)/generated-tcg-tracers.h-timestamp: $(SRC_PATH)/trace-events $(BUILD_DIR)/
 ######################################################################
 # Backend code
 
-util-obj-$(CONFIG_TRACE_SIMPLE) += simple.o
+util-obj-$(CONFIG_TRACE_SIMPLE) += simple.o generated-tracers.o
 util-obj-$(CONFIG_TRACE_FTRACE) += ftrace.o
 util-obj-$(CONFIG_TRACE_UST) += generated-ust.o
 util-obj-y += control.o
-util-obj-y += generated-tracers.o
This page took 0.025769 seconds and 4 git commands to generate.