summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAlex Bennée2019-03-12 10:18:31 +0100
committerAlex Bennée2019-03-12 18:05:21 +0100
commit337f2311f94aecefc3a8e09d3f8ebea563b459ef (patch)
treec52dedb07fd66e8557a2f4e7b992237ef1886136 /Makefile
parentMakefile: explicitly pass $(SRC_PATH) to gcovr (diff)
downloadqemu-337f2311f94aecefc3a8e09d3f8ebea563b459ef.tar.gz
qemu-337f2311f94aecefc3a8e09d3f8ebea563b459ef.tar.xz
qemu-337f2311f94aecefc3a8e09d3f8ebea563b459ef.zip
Makefile: explicitly pass $(BUILD_DIR) to gcovr
Best to be explicit about where to find things. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7202ac76dc..248fe9db7b 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