aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.com>2015-10-15 05:14:02 -0400
committerMichal Marek <mmarek@suse.com>2016-01-05 16:10:45 -0500
commitab9ca615f5f4053417cba464015bf2d7334a2371 (patch)
treeaee9a96238eb37b975afb3cc0a627945819d24f4
parenta281b8569e9eb4beb1651c92145271555ba05f0c (diff)
tags: Do not try to index defconfigs
The defconfig files are in predictable locations, so there is no need to index them. Plus, the script was only looking for files named 'defconfig', which only works on a few architectures nowadays. Signed-off-by: Michal Marek <mmarek@suse.com>
-rwxr-xr-xscripts/tags.sh12
1 files changed, 0 insertions, 12 deletions
diff --git a/scripts/tags.sh b/scripts/tags.sh
index b97d687784d5..e23427b6600a 100755
--- a/scripts/tags.sh
+++ b/scripts/tags.sh
@@ -134,11 +134,6 @@ all_kconfigs()
134 find_other_sources 'Kconfig*' 134 find_other_sources 'Kconfig*'
135} 135}
136 136
137all_defconfigs()
138{
139 find_sources $ALLSOURCE_ARCHS "defconfig"
140}
141
142docscope() 137docscope()
143{ 138{
144 (echo \-k; echo \-q; all_target_sources) > cscope.files 139 (echo \-k; echo \-q; all_target_sources) > cscope.files
@@ -222,10 +217,6 @@ exuberant()
222 --langdef=kconfig --language-force=kconfig \ 217 --langdef=kconfig --language-force=kconfig \
223 --regex-kconfig='/^[[:blank:]]*(menu|)config[[:blank:]]+([[:alnum:]_]+)/\2/' \ 218 --regex-kconfig='/^[[:blank:]]*(menu|)config[[:blank:]]+([[:alnum:]_]+)/\2/' \
224 --regex-kconfig='/^[[:blank:]]*(menu|)config[[:blank:]]+([[:alnum:]_]+)/CONFIG_\2/' 219 --regex-kconfig='/^[[:blank:]]*(menu|)config[[:blank:]]+([[:alnum:]_]+)/CONFIG_\2/'
225
226 all_defconfigs | xargs -r $1 -a \
227 --langdef=dotconfig --language-force=dotconfig \
228 --regex-dotconfig='/^#?[[:blank:]]*(CONFIG_[[:alnum:]_]+)/\1/'
229} 220}
230 221
231emacs() 222emacs()
@@ -270,9 +261,6 @@ emacs()
270 all_kconfigs | xargs $1 -a \ 261 all_kconfigs | xargs $1 -a \
271 --regex='/^[ \t]*\(\(menu\)*config\)[ \t]+\([a-zA-Z0-9_]+\)/\3/' \ 262 --regex='/^[ \t]*\(\(menu\)*config\)[ \t]+\([a-zA-Z0-9_]+\)/\3/' \
272 --regex='/^[ \t]*\(\(menu\)*config\)[ \t]+\([a-zA-Z0-9_]+\)/CONFIG_\3/' 263 --regex='/^[ \t]*\(\(menu\)*config\)[ \t]+\([a-zA-Z0-9_]+\)/CONFIG_\3/'
273
274 all_defconfigs | xargs -r $1 -a \
275 --regex='/^#?[ \t]?\(CONFIG_[a-zA-Z0-9_]+\)/\1/'
276} 264}
277 265
278xtags() 266xtags()