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>
This commit is contained in:
committed by
Sam Ravnborg
parent
0d54164331
commit
54e08a2392
6
Makefile
6
Makefile
@@ -1237,7 +1237,8 @@ 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 \
|
||||||
|
-I EXPORT_SYMBOL,EXPORT_SYMBOL_GPL \
|
||||||
--extra=+f --c-kinds=+px"`; \
|
--extra=+f --c-kinds=+px"`; \
|
||||||
$(all-sources) | xargs etags $$ETAGSF -a
|
$(all-sources) | xargs etags $$ETAGSF -a
|
||||||
endef
|
endef
|
||||||
@@ -1250,7 +1251,8 @@ 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 \
|
||||||
|
-I EXPORT_SYMBOL,EXPORT_SYMBOL_GPL \
|
||||||
--extra=+f --c-kinds=+px"`; \
|
--extra=+f --c-kinds=+px"`; \
|
||||||
$(all-sources) | xargs ctags $$CTAGSF -a
|
$(all-sources) | xargs ctags $$CTAGSF -a
|
||||||
endef
|
endef
|
||||||
|
Reference in New Issue
Block a user