Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
+8 −6
Original line number Diff line number Diff line
@@ -1237,7 +1237,8 @@ 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 \
                echo "-I __initdata,__exitdata,__acquires,__releases  \
                      -I EXPORT_SYMBOL,EXPORT_SYMBOL_GPL              \
                      --extra=+f --c-kinds=+px"`;                     \
                $(all-sources) | xargs etags $$ETAGSF -a
endef
@@ -1250,7 +1251,8 @@ 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 \
                echo "-I __initdata,__exitdata,__acquires,__releases  \
                      -I EXPORT_SYMBOL,EXPORT_SYMBOL_GPL              \
                      --extra=+f --c-kinds=+px"`;                     \
                $(all-sources) | xargs ctags $$CTAGSF -a
endef