summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.com>2015-10-14 11:17:13 +0200
committerMichal Marek <mmarek@suse.com>2016-01-05 22:10:42 +0100
commita281b8569e9eb4beb1651c92145271555ba05f0c (patch)
treee89bc6bacfb4c30cc0da2f26b1419b528702eea6 /scripts
parentc26206f23a19af299540880ccf80e5a7af0f7db6 (diff)
downloadblackbird-op-linux-a281b8569e9eb4beb1651c92145271555ba05f0c.tar.gz
blackbird-op-linux-a281b8569e9eb4beb1651c92145271555ba05f0c.zip
tags: Process Kconfig files in a single pass
Signed-off-by: Michal Marek <mmarek@suse.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/tags.sh9
1 files changed, 2 insertions, 7 deletions
diff --git a/scripts/tags.sh b/scripts/tags.sh
index 2263f35be490..b97d687784d5 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 \
OpenPOWER on IntegriCloud