diff options
author | Michal Marek <mmarek@suse.com> | 2015-10-14 11:17:13 +0200 |
---|---|---|
committer | Michal Marek <mmarek@suse.com> | 2016-01-05 22:10:42 +0100 |
commit | a281b8569e9eb4beb1651c92145271555ba05f0c (patch) | |
tree | e89bc6bacfb4c30cc0da2f26b1419b528702eea6 /scripts | |
parent | c26206f23a19af299540880ccf80e5a7af0f7db6 (diff) | |
download | op-kernel-dev-a281b8569e9eb4beb1651c92145271555ba05f0c.zip op-kernel-dev-a281b8569e9eb4beb1651c92145271555ba05f0c.tar.gz |
tags: Process Kconfig files in a single pass
Signed-off-by: Michal Marek <mmarek@suse.com>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/tags.sh | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/scripts/tags.sh b/scripts/tags.sh index 2263f35..b97d687 100755 --- a/scripts/tags.sh +++ b/scripts/tags.sh @@ -220,10 +220,7 @@ exuberant() all_kconfigs | xargs $1 -a \ --langdef=kconfig --language-force=kconfig \ - --regex-kconfig='/^[[:blank:]]*(menu|)config[[:blank:]]+([[:alnum:]_]+)/\2/' - - all_kconfigs | xargs $1 -a \ - --langdef=kconfig --language-force=kconfig \ + --regex-kconfig='/^[[:blank:]]*(menu|)config[[:blank:]]+([[:alnum:]_]+)/\2/' \ --regex-kconfig='/^[[:blank:]]*(menu|)config[[:blank:]]+([[:alnum:]_]+)/CONFIG_\2/' all_defconfigs | xargs -r $1 -a \ @@ -271,9 +268,7 @@ emacs() --regex='/[^#]*DEFINE_HASHTABLE(\([^,)]*\)/\1/' all_kconfigs | xargs $1 -a \ - --regex='/^[ \t]*\(\(menu\)*config\)[ \t]+\([a-zA-Z0-9_]+\)/\3/' - - all_kconfigs | xargs $1 -a \ + --regex='/^[ \t]*\(\(menu\)*config\)[ \t]+\([a-zA-Z0-9_]+\)/\3/' \ --regex='/^[ \t]*\(\(menu\)*config\)[ \t]+\([a-zA-Z0-9_]+\)/CONFIG_\3/' all_defconfigs | xargs -r $1 -a \ |