• Keith Owens's avatar
    kbuild: Add 'make namespacecheck' · 3887929c
    Keith Owens authored
    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: default avatarKeith Owens <kaos@ocs.com.au>
    Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
    
    Index: 2.6.9-rc1/Makefile
    ===================================================================
    3887929c
namespace.pl 11.7 KB