summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPaolo Bonzini2020-02-03 14:45:33 +0100
committerPaolo Bonzini2020-08-21 12:30:07 +0200
commit968b4db38a717d334db9298fb7b6f6ba71d08806 (patch)
tree491226bfbfaf79f1b0ba06479e9a13f493392ab5 /Makefile
parentmeson: use coverage option (diff)
downloadqemu-968b4db38a717d334db9298fb7b6f6ba71d08806.tar.gz
qemu-968b4db38a717d334db9298fb7b6f6ba71d08806.tar.xz
qemu-968b4db38a717d334db9298fb7b6f6ba71d08806.zip
meson: add sparse support
Do not use cgcc; instead, extract compilation commands from compile_commands.json and invoke sparse directly. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ba8413d809..81c9642a30 100644
--- a/Makefile
+++ b/Makefile
@@ -1261,6 +1261,7 @@ endif
$(call print-help,install,Install QEMU, documentation and tools)
$(call print-help,ctags/TAGS,Generate tags file for editors)
$(call print-help,cscope,Generate cscope index)
+ $(call print-help,sparse,Run sparse on the QEMU source)
@echo ''
@$(if $(TARGET_DIRS), \
echo 'Architecture specific targets:'; \