aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Le Goater <clg@redhat.com>2025-06-30 19:20:48 +0200
committerCédric Le Goater <clg@redhat.com>2025-07-03 13:42:28 +0200
commit3f2a36d0ef6339ce78e107959da81f76283582f7 (patch)
treeb4ebc9fa79b05c835118b9492e391696af31e4ae
parent4ba5cdfdf70843d7a74a7cb9704688c4c6957dd6 (diff)
downloadqemu-3f2a36d0ef6339ce78e107959da81f76283582f7.zip
qemu-3f2a36d0ef6339ce78e107959da81f76283582f7.tar.gz
qemu-3f2a36d0ef6339ce78e107959da81f76283582f7.tar.bz2
Makefile: prune quilt source files for cscope
Both quilt, to apply patches, and cscope, to navigate in the code, are useful tools. Make sure source files that quilt saves when applying patches are not taken into account when building the cscope database. Link: https://lore.kernel.org/qemu-devel/20250630172048.519182-1-clg@redhat.com Signed-off-by: Cédric Le Goater <clg@redhat.com>
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c92a3cf..74c2da2 100644
--- a/Makefile
+++ b/Makefile
@@ -227,6 +227,7 @@ distclean: clean recurse-distclean
rm -Rf .sdk qemu-bundle
find-src-path = find "$(SRC_PATH)" -path "$(SRC_PATH)/meson" -prune -o \
+ -path "$(SRC_PATH)/.pc" -prune -o \
-type l -prune -o \( -name "*.[chsS]" -o -name "*.[ch].inc" \)
.PHONY: ctags