kbuild: incremental tags update for GNU Global
Jianbin Kang [Thu, 8 Mar 2012 07:48:03 +0000 (15:48 +0800)]
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@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>

scripts/tags.sh

index 833813a..0bc8588 100755 (executable)
@@ -116,7 +116,7 @@ docscope()
 
 dogtags()
 {
-       all_sources | gtags -f -
+       all_sources | gtags -i -f -
 }
 
 exuberant()