diff options
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 \ |