From: Alex Bennée Date: Tue, 12 Mar 2019 09:18:31 +0000 (+0000) Subject: Makefile: explicitly pass $(BUILD_DIR) to gcovr X-Git-Tag: v4.0.0-rc0~17^2~21 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=337f2311f94aecefc3a8e09d3f8ebea563b459ef;p=thirdparty%2Fqemu.git Makefile: explicitly pass $(BUILD_DIR) to gcovr Best to be explicit about where to find things. Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé --- diff --git a/Makefile b/Makefile index 7202ac76dcc..248fe9db7be 100644 --- a/Makefile +++ b/Makefile @@ -964,7 +964,8 @@ $(filter %.1 %.7 %.8,$(DOCS)): scripts/texi2pod.pl %/coverage-report.html: @mkdir -p $* $(call quiet-command,\ - gcovr -r $(SRC_PATH) -p --html --html-details -o $@, \ + gcovr -r $(SRC_PATH) --object-directory $(BUILD_PATH) \ + -p --html --html-details -o $@, \ "GEN", "coverage-report.html") .PHONY: coverage-report