* [PATCH] Makefile: prune quilt source files for cscope
@ 2025-06-30 17:20 Cédric Le Goater
2025-07-02 21:41 ` Cédric Le Goater
0 siblings, 1 reply; 3+ messages in thread
From: Cédric Le Goater @ 2025-06-30 17:20 UTC (permalink / raw)
To: qemu-devel
Cc: Thomas Huth, Paolo Bonzini, Alex Bennée,
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 <clg@redhat.com>
---
Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/Makefile b/Makefile
index c92a3cf7857a..74c2da203720 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
--
2.50.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] Makefile: prune quilt source files for cscope
2025-06-30 17:20 [PATCH] Makefile: prune quilt source files for cscope Cédric Le Goater
@ 2025-07-02 21:41 ` Cédric Le Goater
2025-07-03 6:22 ` Cédric Le Goater
0 siblings, 1 reply; 3+ messages in thread
From: Cédric Le Goater @ 2025-07-02 21:41 UTC (permalink / raw)
To: qemu-devel; +Cc: Thomas Huth, Paolo Bonzini, Alex Bennée
On 6/30/25 19:20, Cédric Le Goater wrote:
> 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 <clg@redhat.com>
> ---
> Makefile | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Makefile b/Makefile
> index c92a3cf7857a..74c2da203720 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
if no one objects, I will add it to the vfio queue.
Thanks,
C.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Makefile: prune quilt source files for cscope
2025-07-02 21:41 ` Cédric Le Goater
@ 2025-07-03 6:22 ` Cédric Le Goater
0 siblings, 0 replies; 3+ messages in thread
From: Cédric Le Goater @ 2025-07-03 6:22 UTC (permalink / raw)
To: qemu-devel; +Cc: Thomas Huth, Paolo Bonzini, Alex Bennée
On 7/2/25 23:41, Cédric Le Goater wrote:
> On 6/30/25 19:20, Cédric Le Goater wrote:
>> 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 <clg@redhat.com>
>> ---
>> Makefile | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/Makefile b/Makefile
>> index c92a3cf7857a..74c2da203720 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
>
> if no one objects, I will add it to the vfio queue.
>
> Thanks,
>
> C.
>
>
Applied to vfio-next.
Thanks,
C.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-07-03 6:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-30 17:20 [PATCH] Makefile: prune quilt source files for cscope Cédric Le Goater
2025-07-02 21:41 ` Cédric Le Goater
2025-07-03 6:22 ` Cédric Le Goater
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).