aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2019-03-12 09:18:31 +0000
committerAlex Bennée <alex.bennee@linaro.org>2019-03-12 17:05:21 +0000
commit337f2311f94aecefc3a8e09d3f8ebea563b459ef (patch)
treec52dedb07fd66e8557a2f4e7b992237ef1886136 /Makefile
parent08a742c89c7d4fbed4ed7b81872c4cbecabe4ba4 (diff)
downloadqemu-337f2311f94aecefc3a8e09d3f8ebea563b459ef.zip
qemu-337f2311f94aecefc3a8e09d3f8ebea563b459ef.tar.gz
qemu-337f2311f94aecefc3a8e09d3f8ebea563b459ef.tar.bz2
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 7202ac7..248fe9d 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