[PATCH] kbuild: incremental tags update for GNU Global

From: Jianbin Kang
Date: Thu Mar 08 2012 - 02:48:10 EST


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-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/