summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJianbin Kang <kjbmail@gmail.com>2011-01-14 20:07:05 +0800
committerMichal Marek <mmarek@suse.cz>2011-01-15 00:48:16 +0100
commitf4ed1009fcea8502d1191ef3e435e9d83c286b80 (patch)
tree072b7f35d76880978b842b12eae1b9b7d4984a6a /scripts
parent38b3439d84f4a310bd29e3dbc21dffe9119ef157 (diff)
downloadtalos-obmc-linux-f4ed1009fcea8502d1191ef3e435e9d83c286b80.tar.gz
talos-obmc-linux-f4ed1009fcea8502d1191ef3e435e9d83c286b80.zip
kbuild: add GNU GLOBAL tags generation
GNU GLOBAL (http://www.gnu.org/software/global/) is a source code tagging system It is really cheap to support it in kbuild system. Signed-off-by: Jianbin Kang <kjbmail@gmail.com> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/tags.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/tags.sh b/scripts/tags.sh
index e091db312ddb..5d17c71a8161 100755
--- a/scripts/tags.sh
+++ b/scripts/tags.sh
@@ -114,6 +114,11 @@ docscope()
cscope -b -f cscope.out
}
+dogtags()
+{
+ all_sources | gtags -f -
+}
+
exuberant()
{
all_sources | xargs $1 -a \
@@ -185,6 +190,10 @@ case "$1" in
docscope
;;
+ "gtags")
+ dogtags
+ ;;
+
"tags")
rm -f tags
xtags ctags
OpenPOWER on IntegriCloud