aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2005-12-25 20:47:18 -0500
committerSam Ravnborg <sam@mars.ravnborg.org>2005-12-26 17:19:55 -0500
commit54e08a2392e99ba9e48ce1060e0b52a39118419c (patch)
treed86d89a8b844b88eca9a76362d10cb4b9034dd76 /Makefile
parent0d5416433190ee80a8146137dd84613bb9c7ae92 (diff)
kbuild: tags file generation fixup
Here is a fixup for tags file generation, for proper tags of __releases/__acquires functions. Signed-off-by: samuel.thibault@ens-lyon.org Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index ced03463ba5d..922c7633797f 100644
--- a/Makefile
+++ b/Makefile
@@ -1236,9 +1236,10 @@ cscope: FORCE
1236quiet_cmd_TAGS = MAKE $@ 1236quiet_cmd_TAGS = MAKE $@
1237define cmd_TAGS 1237define cmd_TAGS
1238 rm -f $@; \ 1238 rm -f $@; \
1239 ETAGSF=`etags --version | grep -i exuberant >/dev/null && \ 1239 ETAGSF=`etags --version | grep -i exuberant >/dev/null && \
1240 echo "-I __initdata,__exitdata,EXPORT_SYMBOL,EXPORT_SYMBOL_GPL \ 1240 echo "-I __initdata,__exitdata,__acquires,__releases \
1241 --extra=+f --c-kinds=+px"`; \ 1241 -I EXPORT_SYMBOL,EXPORT_SYMBOL_GPL \
1242 --extra=+f --c-kinds=+px"`; \
1242 $(all-sources) | xargs etags $$ETAGSF -a 1243 $(all-sources) | xargs etags $$ETAGSF -a
1243endef 1244endef
1244 1245
@@ -1249,9 +1250,10 @@ TAGS: FORCE
1249quiet_cmd_tags = MAKE $@ 1250quiet_cmd_tags = MAKE $@
1250define cmd_tags 1251define cmd_tags
1251 rm -f $@; \ 1252 rm -f $@; \
1252 CTAGSF=`ctags --version | grep -i exuberant >/dev/null && \ 1253 CTAGSF=`ctags --version | grep -i exuberant >/dev/null && \
1253 echo "-I __initdata,__exitdata,EXPORT_SYMBOL,EXPORT_SYMBOL_GPL \ 1254 echo "-I __initdata,__exitdata,__acquires,__releases \
1254 --extra=+f --c-kinds=+px"`; \ 1255 -I EXPORT_SYMBOL,EXPORT_SYMBOL_GPL \
1256 --extra=+f --c-kinds=+px"`; \
1255 $(all-sources) | xargs ctags $$CTAGSF -a 1257 $(all-sources) | xargs ctags $$CTAGSF -a
1256endef 1258endef
1257 1259