aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2008-02-22 07:02:33 -0500
committerSam Ravnborg <sam@uranus.ravnborg.org>2008-04-25 14:20:42 -0400
commit80ff26241623875636674a31c0540a78c0fb5433 (patch)
tree6841e1ec874a93c9de45e1f73931506f9ebbbb52 /Makefile
parent3156fd0529b5216f4f444f4a7752b82dc1bd99c0 (diff)
kbuild: add kconfig symbols to tags output
Steps to reproduce: vi -t NETFILTER Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3dbc826bb8e6..6ae7fd4475b8 100644
--- a/Makefile
+++ b/Makefile
@@ -1396,7 +1396,7 @@ define xtags
1396 $(all-kconfigs) | xargs $1 -a \ 1396 $(all-kconfigs) | xargs $1 -a \
1397 --langdef=kconfig \ 1397 --langdef=kconfig \
1398 --language-force=kconfig \ 1398 --language-force=kconfig \
1399 --regex-kconfig='/^[[:blank:]]*config[[:blank:]]+([[:alnum:]_]+)/\1/'; \ 1399 --regex-kconfig='/^[[:blank:]]*(menu|)config[[:blank:]]+([[:alnum:]_]+)/\2/'; \
1400 $(all-defconfigs) | xargs -r $1 -a \ 1400 $(all-defconfigs) | xargs -r $1 -a \
1401 --langdef=dotconfig \ 1401 --langdef=dotconfig \
1402 --language-force=dotconfig \ 1402 --language-force=dotconfig \
@@ -1404,7 +1404,7 @@ define xtags
1404 elif $1 --version 2>&1 | grep -iq emacs; then \ 1404 elif $1 --version 2>&1 | grep -iq emacs; then \
1405 $(all-sources) | xargs $1 -a; \ 1405 $(all-sources) | xargs $1 -a; \
1406 $(all-kconfigs) | xargs $1 -a \ 1406 $(all-kconfigs) | xargs $1 -a \
1407 --regex='/^[ \t]*config[ \t]+\([a-zA-Z0-9_]+\)/\1/'; \ 1407 --regex='/^[ \t]*(menu|)config[ \t]+\([a-zA-Z0-9_]+\)/\2/'; \
1408 $(all-defconfigs) | xargs -r $1 -a \ 1408 $(all-defconfigs) | xargs -r $1 -a \
1409 --regex='/^#?[ \t]?\(CONFIG_[a-zA-Z0-9_]+\)/\1/'; \ 1409 --regex='/^#?[ \t]?\(CONFIG_[a-zA-Z0-9_]+\)/\1/'; \
1410 else \ 1410 else \