Re: [PATCH] scripts: gtags_files_generator.sh

From: Greg KH
Date: Sat Apr 25 2020 - 04:03:47 EST


On Sat, Apr 25, 2020 at 03:31:06PM +0800, xujialu wrote:
> Add a script to generate a gtags.files file.
>
> For navigating linux sources, it will be more efficient if gtags/cscope just
> collects source files that needed by compilation. The kernel makefiles already
> create *.cmd files that contain the files we needed, then just extracts files
> list from them and into gtags.files cause it's the default name list file for
> gtags.
>
> make defconfig
> make
> scripts/gtags_files_generator.sh
> gtags [-f gtags.files]
>
> Enjoy with vim+gtags. :)

What's wrong with just 'make gtags' that we currently have in the kernel
tree? Shouldn't that be sufficient, and if not, then you need to
explain why it isn't in your changelog.

thanks,

greg k-h