diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -1236,8 +1236,10 @@ cscope: FORCE | |||
1236 | quiet_cmd_TAGS = MAKE $@ | 1236 | quiet_cmd_TAGS = MAKE $@ |
1237 | define cmd_TAGS | 1237 | define cmd_TAGS |
1238 | rm -f $@; \ | 1238 | rm -f $@; \ |
1239 | ETAGSF=`etags --version | grep -i exuberant >/dev/null && echo "-I __initdata,__exitdata,EXPORT_SYMBOL,EXPORT_SYMBOL_GPL --extra=+f"`; \ | 1239 | ETAGSF=`etags --version | grep -i exuberant >/dev/null && \ |
1240 | $(all-sources) | xargs etags $$ETAGSF -a | 1240 | echo "-I __initdata,__exitdata,EXPORT_SYMBOL,EXPORT_SYMBOL_GPL \ |
1241 | --extra=+f --c-kinds=+px"`; \ | ||
1242 | $(all-sources) | xargs etags $$ETAGSF -a | ||
1241 | endef | 1243 | endef |
1242 | 1244 | ||
1243 | TAGS: FORCE | 1245 | TAGS: FORCE |
@@ -1247,8 +1249,10 @@ TAGS: FORCE | |||
1247 | quiet_cmd_tags = MAKE $@ | 1249 | quiet_cmd_tags = MAKE $@ |
1248 | define cmd_tags | 1250 | define cmd_tags |
1249 | rm -f $@; \ | 1251 | rm -f $@; \ |
1250 | CTAGSF=`ctags --version | grep -i exuberant >/dev/null && echo "-I __initdata,__exitdata,EXPORT_SYMBOL,EXPORT_SYMBOL_GPL --extra=+f"`; \ | 1252 | CTAGSF=`ctags --version | grep -i exuberant >/dev/null && \ |
1251 | $(all-sources) | xargs ctags $$CTAGSF -a | 1253 | echo "-I __initdata,__exitdata,EXPORT_SYMBOL,EXPORT_SYMBOL_GPL \ |
1254 | --extra=+f --c-kinds=+px"`; \ | ||
1255 | $(all-sources) | xargs ctags $$CTAGSF -a | ||
1252 | endef | 1256 | endef |
1253 | 1257 | ||
1254 | tags: FORCE | 1258 | tags: FORCE |