lkml.org 
[lkml]   [2011]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] kbuild: incremental tags updating with GNU GLOBAL
    On 11.7.2011 12:26, Víctor Manuel Jáquez Leal wrote:
    > Instead of generating the tag database each time the target is ran, is better
    > just update incrementally the database. It will expend less time.
    >
    > Signed-off-by: Víctor Manuel Jáquez Leal<vjaquez@igalia.com>
    > ---
    > scripts/tags.sh | 6 +++++-
    > 1 files changed, 5 insertions(+), 1 deletions(-)
    >
    > diff --git a/scripts/tags.sh b/scripts/tags.sh
    > index 75c5d24..6a2fedc 100755
    > --- a/scripts/tags.sh
    > +++ b/scripts/tags.sh
    > @@ -116,7 +116,11 @@ docscope()
    >
    > dogtags()
    > {
    > - all_sources | gtags -f -
    > + if global -p; then
    > + global -u
    > + else
    > + all_sources | gtags -f -
    > + fi

    Will this handle new source files properly?

    Michal
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2011-07-11 14:19    [W:0.026 / U:3.264 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site