tags and cscope support really belongs in a shell script
authorSam Ravnborg <sam@ravnborg.org>
Wed, 3 Dec 2008 21:24:13 +0000 (22:24 +0100)
committerSam Ravnborg <sam@ravnborg.org>
Wed, 3 Dec 2008 21:24:13 +0000 (22:24 +0100)
commita680eedc6c621c75695c68198533fc3c98f4053b
treec2d1751b5d7ff84aa664e4442ee1e8e2b053c6b9
parentf6682f915760ccfe57ef1b6cd5ff2d8f2bf8c1d4
tags and cscope support really belongs in a shell script
as they do not benefit from the make functionality.

Moving the support to a shell script has several benefits:
- The readability of the code has increased a lot
- More people is able to extend the tags support
- We see less changes to the top-level Makefile

The shell script version includes improvements from:
Alexey Dobriyan <adobriyan@gmail.com> (jump to kconfig symbols)
Alexey Dobriyan <adobriyan@gmail.com> (drop ./ in paths)
Ian Campbell <ijc@hellion.org.uk> (simplified find algorithms)

This version has a few caveats:
=> It does not support ALLSOURCE_ARCHS
   - it is easy to add if it is really used
=> It assumes all archs have moved to arch/$ARCH/include
   - until that happens we have a few additional hits in the archs

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Tested-by: Ian Campbell <ijc@hellion.org.uk>
Makefile
scripts/tags.sh [new file with mode: 0755]