kbuild: incremental tags update for GNU Global
authorJianbin Kang <kjbmail@gmail.com>
Thu, 8 Mar 2012 07:48:03 +0000 (15:48 +0800)
committerMichal Marek <mmarek@suse.cz>
Mon, 26 Mar 2012 13:29:52 +0000 (15:29 +0200)
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()