diff options
author | Antony Pavlov <antonynpavlov@gmail.com> | 2017-03-21 13:55:30 +0300 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2017-03-30 08:23:21 +0200 |
commit | 9985c8ff853e53a651a8d6a150345f42226f57d4 (patch) | |
tree | 1c0718e1cc2635dc5076803c38e944dbec309002 /scripts/tags.sh | |
parent | a3da5ed793c9aaa963809ff32916e1dee66139b8 (diff) | |
download | barebox-9985c8ff853e53a651a8d6a150345f42226f57d4.tar.gz barebox-9985c8ff853e53a651a8d6a150345f42226f57d4.tar.xz |
tags: Do not try to index defconfigs
This is an adoption of the linux kernel commit
| commit ab9ca615f5f4053417cba464015bf2d7334a2371
| Author: Michal Marek <mmarek@suse.com>
| Date: Thu Oct 15 11:14:02 2015 +0200
|
| 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>
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts/tags.sh')
-rwxr-xr-x | scripts/tags.sh | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/scripts/tags.sh b/scripts/tags.sh index c3ce5f9456..22a5cc4bf9 100755 --- a/scripts/tags.sh +++ b/scripts/tags.sh @@ -103,11 +103,6 @@ all_kconfigs() find_other_sources 'Kconfig*' } -all_defconfigs() -{ - find_sources $ALLSOURCE_ARCHS "defconfig" -} - docscope() { (echo \-k; echo \-q; all_sources) > cscope.files @@ -164,10 +159,6 @@ exuberant() all_kconfigs | xargs $1 -a \ --langdef=kconfig --language-force=kconfig \ --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() @@ -206,9 +197,6 @@ emacs() all_kconfigs | xargs $1 -a \ --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() |