@@ -352,12 +352,12 @@ ifeq ($(TRACE_BACKEND),dtrace)
TRACE_H_EXTRA_DEPS=trace-dtrace.h
endif
trace.h: trace.h-timestamp $(TRACE_H_EXTRA_DEPS)
-trace.h-timestamp: $(SRC_PATH)/trace-events $(BUILD_DIR)/config-host.mak
+trace.h-timestamp: $(SRC_PATH)/trace-events $(BUILD_DIR)/config-host.mak $(TRACETOOL)
$(call tracetool-gen,h,$(TRACE_BACKEND))
$(call tracetool-ci)
trace.c: trace.c-timestamp
-trace.c-timestamp: $(SRC_PATH)/trace-events $(BUILD_DIR)/config-host.mak
+trace.c-timestamp: $(SRC_PATH)/trace-events $(BUILD_DIR)/config-host.mak $(TRACETOOL)
$(call tracetool-gen,c,$(TRACE_BACKEND))
$(call tracetool-ci)
@@ -370,7 +370,7 @@ trace-dtrace.h: trace-dtrace.dtrace
# but that gets picked up by QEMU's Makefile as an external dependency
# rule file. So we use '.dtrace' instead
trace-dtrace.dtrace: trace-dtrace.dtrace-timestamp
-trace-dtrace.dtrace-timestamp: $(SRC_PATH)/trace-events $(BUILD_DIR)/config-host.mak
+trace-dtrace.dtrace-timestamp: $(SRC_PATH)/trace-events $(BUILD_DIR)/config-host.mak $(TRACETOOL)
$(call tracetool-gen,d,$(TRACE_BACKEND))
$(call tracetool-ci)
Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu> --- Makefile.objs | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)