kbuild: Add 'make namespacecheck'
authorKeith Owens <kaos@ocs.com.au>
Sun, 29 Aug 2004 12:17:02 +0000 (14:17 +0200)
committerTom Rini <trini@kernel.crashing.org>
Sun, 29 Aug 2004 12:17:02 +0000 (14:17 +0200)
commit3887929c9e7c41fed02ca0fc4537e09d26690e49
treeabe7a3fc3c6a25360deca7181848f1757c25f16b
parent8a0aa84ca26612b2138d18e005782613e27f2ad0
kbuild: Add 'make namespacecheck'

make namespacecheck lists globally visible symbols that are not used
outside the file that defines them.  These symbols are candidates for
static declarations.  It also lists multiply defined symbols.
namespace.pl knows about lots of special cases in the kernel code,
including exported symbols and conglomerate objects.

The patch also corrects the usage of scripts/reference*.pl, they need
$(src).

Signed-off-by: Keith Owens <kaos@ocs.com.au>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>

Index: 2.6.9-rc1/Makefile
===================================================================
Makefile
scripts/namespace.pl [new file with mode: 0644]