فهرست منبع

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>
Michal Marek 10 سال پیش
والد
کامیت
ab9ca615f5
1فایلهای تغییر یافته به همراه0 افزوده شده و 12 حذف شده
  1. 0 12
      scripts/tags.sh

+ 0 - 12
scripts/tags.sh

@@ -134,11 +134,6 @@ all_kconfigs()
 	find_other_sources 'Kconfig*'
 	find_other_sources 'Kconfig*'
 }
 }
 
 
-all_defconfigs()
-{
-	find_sources $ALLSOURCE_ARCHS "defconfig"
-}
-
 docscope()
 docscope()
 {
 {
 	(echo \-k; echo \-q; all_target_sources) > cscope.files
 	(echo \-k; echo \-q; all_target_sources) > cscope.files
@@ -222,10 +217,6 @@ exuberant()
 	--langdef=kconfig --language-force=kconfig              \
 	--langdef=kconfig --language-force=kconfig              \
 	--regex-kconfig='/^[[:blank:]]*(menu|)config[[:blank:]]+([[:alnum:]_]+)/\2/' \
 	--regex-kconfig='/^[[:blank:]]*(menu|)config[[:blank:]]+([[:alnum:]_]+)/\2/' \
 	--regex-kconfig='/^[[:blank:]]*(menu|)config[[:blank:]]+([[:alnum:]_]+)/CONFIG_\2/'
 	--regex-kconfig='/^[[:blank:]]*(menu|)config[[:blank:]]+([[:alnum:]_]+)/CONFIG_\2/'
-
-	all_defconfigs | xargs -r $1 -a                         \
-	--langdef=dotconfig --language-force=dotconfig          \
-	--regex-dotconfig='/^#?[[:blank:]]*(CONFIG_[[:alnum:]_]+)/\1/'
 }
 }
 
 
 emacs()
 emacs()
@@ -270,9 +261,6 @@ emacs()
 	all_kconfigs | xargs $1 -a                              \
 	all_kconfigs | xargs $1 -a                              \
 	--regex='/^[ \t]*\(\(menu\)*config\)[ \t]+\([a-zA-Z0-9_]+\)/\3/' \
 	--regex='/^[ \t]*\(\(menu\)*config\)[ \t]+\([a-zA-Z0-9_]+\)/\3/' \
 	--regex='/^[ \t]*\(\(menu\)*config\)[ \t]+\([a-zA-Z0-9_]+\)/CONFIG_\3/'
 	--regex='/^[ \t]*\(\(menu\)*config\)[ \t]+\([a-zA-Z0-9_]+\)/CONFIG_\3/'
-
-	all_defconfigs | xargs -r $1 -a                         \
-	--regex='/^#?[ \t]?\(CONFIG_[a-zA-Z0-9_]+\)/\1/'
 }
 }
 
 
 xtags()
 xtags()