[PATCH] kbuild: incremental tags update for GNU Global

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

    GNU gtags support '-i' for updating tag files incrementally.
    It runs more quickly than generating new tags after kernel source update.

    Signed-off-by:  Jianbin Kang <kjbmail@xxxxxxxxx>
---
 scripts/tags.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/tags.sh b/scripts/tags.sh
index 833813a..0bc8588 100755
--- a/scripts/tags.sh
+++ b/scripts/tags.sh
@@ -116,7 +116,7 @@ docscope()

 dogtags()
 {
-	all_sources | gtags -f -
+	all_sources | gtags -i -f -
 }

 exuberant()
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Free Online Dating]     [Linux Kernel]     [Linux SCSI]     [XFree86]

Add to Google Powered by Linux