From: Cédric Le Goater Date: Mon, 30 Jun 2025 17:20:48 +0000 (+0200) Subject: Makefile: prune quilt source files for cscope X-Git-Tag: v10.1.0-rc0~33^2~21 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3f2a36d0ef6339ce78e107959da81f76283582f7;p=thirdparty%2Fqemu.git 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 --- diff --git a/Makefile b/Makefile index c92a3cf7857..74c2da20372 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