]> git.proxmox.com Git - mirror_qemu.git/blobdiff - Makefile.target
numa: improve cpu hotplug error message with a wrong node-id
[mirror_qemu.git] / Makefile.target
index 4ef4ce59969fc6d37549f9b208c458ec30bba45d..ecd856e3a3f0c4b8e868af3d547695a9cb3dfd0a 100644 (file)
@@ -238,3 +238,19 @@ endif
 
 generated-files-y += config-target.h
 Makefile: $(generated-files-y)
+
+# Reports/Analysis
+#
+# The target specific coverage report only cares about target specific
+# blobs and not the shared code.
+#
+
+%/coverage-report.html:
+       @mkdir -p $*
+       $(call quiet-command,\
+               gcovr -r $(SRC_PATH) --object-directory $(CURDIR) \
+               -p --html --html-details -o $@, \
+               "GEN", "coverage-report.html")
+
+.PHONY: coverage-report
+coverage-report: $(CURDIR)/reports/coverage/coverage-report.html