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 833813a99e7c23a29c4e7147c58ac0ca2c696400..0bc8588b630ff2750e48d322e0fccc3bf9d63143 100755 (executable)
@@ -116,7 +116,7 @@ docscope()
 
 dogtags()
 {
-       all_sources | gtags -f -
+       all_sources | gtags -i -f -
 }
 
 exuberant()