Skip to content
Snippets Groups Projects
Commit 54e08a23 authored by Samuel Thibault's avatar Samuel Thibault Committed by Sam Ravnborg
Browse files

kbuild: tags file generation fixup


Here is a fixup for tags file generation, for proper tags of
__releases/__acquires functions.

Signed-off-by: default avatar <samuel.thibault@ens-lyon.org>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent 0d541643
No related branches found
No related tags found
No related merge requests found
...@@ -1236,9 +1236,10 @@ cscope: FORCE ...@@ -1236,9 +1236,10 @@ cscope: FORCE
quiet_cmd_TAGS = MAKE $@ quiet_cmd_TAGS = MAKE $@
define cmd_TAGS define cmd_TAGS
rm -f $@; \ rm -f $@; \
ETAGSF=`etags --version | grep -i exuberant >/dev/null && \ ETAGSF=`etags --version | grep -i exuberant >/dev/null && \
echo "-I __initdata,__exitdata,EXPORT_SYMBOL,EXPORT_SYMBOL_GPL \ echo "-I __initdata,__exitdata,__acquires,__releases \
--extra=+f --c-kinds=+px"`; \ -I EXPORT_SYMBOL,EXPORT_SYMBOL_GPL \
--extra=+f --c-kinds=+px"`; \
$(all-sources) | xargs etags $$ETAGSF -a $(all-sources) | xargs etags $$ETAGSF -a
endef endef
...@@ -1249,9 +1250,10 @@ TAGS: FORCE ...@@ -1249,9 +1250,10 @@ TAGS: FORCE
quiet_cmd_tags = MAKE $@ quiet_cmd_tags = MAKE $@
define cmd_tags define cmd_tags
rm -f $@; \ rm -f $@; \
CTAGSF=`ctags --version | grep -i exuberant >/dev/null && \ CTAGSF=`ctags --version | grep -i exuberant >/dev/null && \
echo "-I __initdata,__exitdata,EXPORT_SYMBOL,EXPORT_SYMBOL_GPL \ echo "-I __initdata,__exitdata,__acquires,__releases \
--extra=+f --c-kinds=+px"`; \ -I EXPORT_SYMBOL,EXPORT_SYMBOL_GPL \
--extra=+f --c-kinds=+px"`; \
$(all-sources) | xargs ctags $$CTAGSF -a $(all-sources) | xargs ctags $$CTAGSF -a
endef endef
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment