Makefile: prune quilt source files for cscope
PATCH 1/1 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.
--- Makefile | 1 + 1 file changed, 1 insertion(+)
Makefile +1 -0
@@ -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
Signature · 1 line
2.50.0
Quoted 14 lines · Cédric Le Goater
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.
Signed-off-by Cédric Le Goater <[email protected]>--- Makefile | 1 + 1 file changed, 1 insertion(+)Makefile +0
-0
Makefile distclean: clean recurse-distclean · line 233
Quoted 7 lines
Makefile +1
-0@@ -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
if no one objects, I will add it to the vfio queue.
Thanks,
C.
Cédric Le Goater
AppliedQuoted 23 lines · Cédric Le Goater
Quoted 14 lines · Cédric Le Goater
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.
Signed-off-by Cédric Le Goater <[email protected]>---
Makefile| 1 +1 file changed, 1 insertion(+)Makefile +0
-0@@ -227,6 +227,7 @@ distclean: clean recurse-distcleanQuoted 5 lines
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: ctagsif no one objects, I will add it to the vfio queue.
Quoted 5 lines
Thanks,
C.
Applied to vfio-next.
Thanks,
C.