Skip to contentSkip to conversation

tags file generation fixup

PATCH Applied Samuel Thibault 2 participants 2 messages Dec 26, 2005 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tags file generation fixup

Hi,

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

Regards,
Samuel

Signed-off-by [email protected]
Makefile renamed from Makefile.orig +2 -2
@@ -1227,7 +1227,7 @@
 quiet_cmd_TAGS = MAKE   $@
 define cmd_TAGS
 	rm -f $@; \
-	ETAGSF=`etags --version | grep -i exuberant >/dev/null && echo "-I __initdata,__exitdata,EXPORT_SYMBOL,EXPORT_SYMBOL_GPL --extra=+f"`; \
+	ETAGSF=`etags --version | grep -i exuberant >/dev/null && echo "-I __initdata,__exitdata,__acquires,__releases,EXPORT_SYMBOL,EXPORT_SYMBOL_GPL --extra=+f"`; \
 	$(all-sources) | xargs etags $$ETAGSF -a
 endef
 
@@ -1238,7 +1238,7 @@
 quiet_cmd_tags = MAKE   $@
 define cmd_tags
 	rm -f $@; \
-	CTAGSF=`ctags --version | grep -i exuberant >/dev/null && echo "-I __initdata,__exitdata,EXPORT_SYMBOL,EXPORT_SYMBOL_GPL --extra=+f"`; \
+	CTAGSF=`ctags --version | grep -i exuberant >/dev/null && echo "-I __initdata,__exitdata,__acquires,__releases,EXPORT_SYMBOL,EXPORT_SYMBOL_GPL --extra=+f"`; \
 	$(all-sources) | xargs ctags $$CTAGSF -a
 endef
 
Applied
#1 lore raw
Quoted 4 lines · Samuel Thibault

Hi,

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

Applied,

Sam