[SCRIPT] kbuild-2.4/2.5 symbol export parser

From: Thunder from the hill (thunder@ngforever.de)
Date: Sat Jul 13 2002 - 21:19:02 EST


Hi,

This one checks if your Makefile's and Makefile.in's report the correct
files exporting symbols. A file that exports symbols must be listed. This
script checks whether files that export symbols are set in expsyms and its
kbuild-2.4 equivalent, and whether the files listed there really export
symbols.

It's quite a kludge. I don't do the parsing on my own here, since I'm just
as lazy as you, but I use the (in)famous grep for each file.

Lots of stuff, produces result and tmp files only in a special directory
called ".deps" (because some of the code was inherited from another script
of mine that computer dependencies for kbuild-2.5 Makefile.in's and thus
created them automagically).

Usage: go to your kernel tree (main directory) and run the script there
without parameters. Takes me a minute to run on my Alpha, produces approx.
270 kB of output files. Requires find, grep, diff, sort and, of course,
perl.

<URL:ftp://luckynet.dynu.com/pub/linux/kbuild-2.5/tools/expsyms-check.pl.bz2>

                                                        Regards,
                                                        Thunder

-- 
(Use http://www.ebb.org/ungeek if you can't decode)
------BEGIN GEEK CODE BLOCK------
Version: 3.12
GCS/E/G/S/AT d- s++:-- a? C++$ ULAVHI++++$ P++$ L++++(+++++)$ E W-$
N--- o?  K? w-- O- M V$ PS+ PE- Y- PGP+ t+ 5+ X+ R- !tv b++ DI? !D G
e++++ h* r--- y- 
------END GEEK CODE BLOCK------

- 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/



This archive was generated by hypermail 2b29 : Mon Jul 15 2002 - 22:00:27 EST