Re: [PATCH v2] scripts/tags.sh: choose which directories to exclude from being indexed

From: Paulo Miguel Almeida
Date: Sun Dec 11 2022 - 15:28:11 EST


On Sun, Dec 11, 2022 at 11:21:33AM +0700, Bagas Sanjaya wrote:
> On Sun, Dec 11, 2022 at 12:02:18PM +1300, Paulo Miguel Almeida wrote:
> > This patch makes it possible for the devs to specify which folders
> > they don't want to include into database as part of the
> > find_other_sources func if a makefile variable IGNOREDIRS is present,
> > otherwise the original behaviour is kept.
>
> Better say "Add IGNOREDIRS variable, which specifies which directories
> to be ignored from indexing."
>
> > @@ -278,6 +278,13 @@ To get all available archs you can also specify all. E.g.::
> >
> > $ make ALLSOURCE_ARCHS=all tags
> >
> > +IGNOREDIRS
> > +---------------
> > +For tags/TAGS/cscope targets, you can choose which directories won't
> > +be included in the databases, separated by comma. E.g.:
> > +
> > + $ make IGNOREDIRS=drivers/gpu/drm/radeon,tools cscope
> > +
>
> Use two-colon syntax (::) for code block above to be consistent with
> other code blocks.
>
> Thanks.
>
> --
> An old man doll... just what I always wanted! - Clara

Hi Bagas,

thanks for taking the time to review this patch. I will make the changes
that you've pointed out.

thanks!

- Paulo A,