From: Alex Bennée Date: Mon, 11 Mar 2019 16:12:53 +0000 (+0000) Subject: Makefile: explicitly pass $(SRC_PATH) to gcovr X-Git-Tag: v4.0.0-rc0~17^2~22 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=08a742c89c7d4fbed4ed7b81872c4cbecabe4ba4;p=thirdparty%2Fqemu.git Makefile: explicitly pass $(SRC_PATH) to gcovr In an out-of-tree build gcovr can get quite confused about what is going on otherwise. Signed-off-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé --- diff --git a/Makefile b/Makefile index 6ccb8639b08..7202ac76dcc 100644 --- a/Makefile +++ b/Makefile @@ -964,7 +964,7 @@ $(filter %.1 %.7 %.8,$(DOCS)): scripts/texi2pod.pl %/coverage-report.html: @mkdir -p $* $(call quiet-command,\ - gcovr -p --html --html-details -o $@, \ + gcovr -r $(SRC_PATH) -p --html --html-details -o $@, \ "GEN", "coverage-report.html") .PHONY: coverage-report