Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1248141

[PATCH 5/9] tags: Process Kconfig files in a single pass

From Michal Marek <mmarek@suse.com>
Newsgroups linux.kernel
Subject [PATCH 5/9] tags: Process Kconfig files in a single pass
Date 2015-10-15 22:20 +0200
Message-ID <qjXai-pN-27@gated-at.bofh.it> (permalink)
References <qjXah-pN-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Signed-off-by: Michal Marek <mmarek@suse.com>
---
 scripts/tags.sh | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/scripts/tags.sh b/scripts/tags.sh
index 996301c3883d..7d496f602c4b 100755
--- a/scripts/tags.sh
+++ b/scripts/tags.sh
@@ -219,10 +219,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                         \
@@ -270,9 +267,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                         \
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/9] scripts/tags.sh cleanup Michal Marek <mmarek@suse.com> - 2015-10-15 22:20 +0200
  [PATCH 9/9] treewide: Remove newlines inside DEFINE_PER_CPU() macros Michal Marek <mmarek@suse.com> - 2015-10-15 22:20 +0200
  [PATCH 5/9] tags: Process Kconfig files in a single pass Michal Marek <mmarek@suse.com> - 2015-10-15 22:20 +0200
  [PATCH 7/9] tags: Drop the _PE rule Michal Marek <mmarek@suse.com> - 2015-10-15 22:20 +0200
  [PATCH 1/9] tags: Treat header files as C code Michal Marek <mmarek@suse.com> - 2015-10-15 22:30 +0200

csiph-web