Commit 54e08a2392e99ba9e48ce1060e0b52a39118419c
Committed by
Sam Ravnborg
1 parent
0d54164331
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>
Showing 1 changed file with 8 additions and 6 deletions Side-by-side Diff
Makefile
... | ... | @@ -1236,9 +1236,10 @@ |
1236 | 1236 | quiet_cmd_TAGS = MAKE $@ |
1237 | 1237 | define cmd_TAGS |
1238 | 1238 | rm -f $@; \ |
1239 | - ETAGSF=`etags --version | grep -i exuberant >/dev/null && \ | |
1240 | - echo "-I __initdata,__exitdata,EXPORT_SYMBOL,EXPORT_SYMBOL_GPL \ | |
1241 | - --extra=+f --c-kinds=+px"`; \ | |
1239 | + ETAGSF=`etags --version | grep -i exuberant >/dev/null && \ | |
1240 | + echo "-I __initdata,__exitdata,__acquires,__releases \ | |
1241 | + -I EXPORT_SYMBOL,EXPORT_SYMBOL_GPL \ | |
1242 | + --extra=+f --c-kinds=+px"`; \ | |
1242 | 1243 | $(all-sources) | xargs etags $$ETAGSF -a |
1243 | 1244 | endef |
1244 | 1245 | |
... | ... | @@ -1249,9 +1250,10 @@ |
1249 | 1250 | quiet_cmd_tags = MAKE $@ |
1250 | 1251 | define cmd_tags |
1251 | 1252 | rm -f $@; \ |
1252 | - CTAGSF=`ctags --version | grep -i exuberant >/dev/null && \ | |
1253 | - echo "-I __initdata,__exitdata,EXPORT_SYMBOL,EXPORT_SYMBOL_GPL \ | |
1254 | - --extra=+f --c-kinds=+px"`; \ | |
1253 | + CTAGSF=`ctags --version | grep -i exuberant >/dev/null && \ | |
1254 | + echo "-I __initdata,__exitdata,__acquires,__releases \ | |
1255 | + -I EXPORT_SYMBOL,EXPORT_SYMBOL_GPL \ | |
1256 | + --extra=+f --c-kinds=+px"`; \ | |
1255 | 1257 | $(all-sources) | xargs ctags $$CTAGSF -a |
1256 | 1258 | endef |
1257 | 1259 |