Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1283935
| From | Michal Marek <mmarek@suse.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v2 5/8] tags: Do not try to index defconfigs |
| Date | 2015-12-04 16:40 +0100 |
| Message-ID | <qC0CJ-4wp-3@gated-at.bofh.it> (permalink) |
| References | <qC0t4-4sT-23@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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>
---
v2: No change
scripts/tags.sh | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/scripts/tags.sh b/scripts/tags.sh
index 283f772133fe..03041ab7634c 100755
--- a/scripts/tags.sh
+++ b/scripts/tags.sh
@@ -134,11 +134,6 @@ all_kconfigs()
find_other_sources 'Kconfig*'
}
-all_defconfigs()
-{
- find_sources $ALLSOURCE_ARCHS "defconfig"
-}
-
docscope()
{
(echo \-k; echo \-q; all_target_sources) > cscope.files
@@ -221,10 +216,6 @@ exuberant()
--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 \
- --langdef=dotconfig --language-force=dotconfig \
- --regex-dotconfig='/^#?[[:blank:]]*(CONFIG_[[:alnum:]_]+)/\1/'
}
emacs()
@@ -268,9 +259,6 @@ emacs()
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 \
- --regex='/^#?[ \t]?\(CONFIG_[a-zA-Z0-9_]+\)/\1/'
}
xtags()
--
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
[PATCH v2 0/8] scripts/tags.sh cleanup Michal Marek <mmarek@suse.com> - 2015-12-04 16:30 +0100 [PATCH v2 4/8] tags: Process Kconfig files in a single pass Michal Marek <mmarek@suse.com> - 2015-12-04 16:30 +0100 [PATCH v2 7/8] tags: Unify emacs and exuberant rules Michal Marek <mmarek@suse.com> - 2015-12-04 16:30 +0100 [PATCH v2 3/8] tags: Fix erroneous pattern match in a comment Michal Marek <mmarek@suse.com> - 2015-12-04 16:30 +0100 [PATCH v2 5/8] tags: Do not try to index defconfigs Michal Marek <mmarek@suse.com> - 2015-12-04 16:40 +0100 [PATCH v2 6/8] tags: Drop the _PE rule Michal Marek <mmarek@suse.com> - 2015-12-04 16:40 +0100 [PATCH v2 1/8] tags: Treat header files as C code Michal Marek <mmarek@suse.com> - 2015-12-04 16:40 +0100 [PATCH v2 2/8] aic7xxx: Avoid name collision with <linux/list.h> Michal Marek <mmarek@suse.com> - 2015-12-04 16:40 +0100
csiph-web