1. 30 Aug, 2004 3 commits
  2. 29 Aug, 2004 4 commits
    • 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
    • Tom Rini's avatar
      kbuild: Solaris fixes in various kbuild Makfiles's · 8a0aa84c
      Tom Rini authored
      Additional Makefile fixes for Solaris 2.8
      
      On Solaris, 'head' doesn't take a -q argument.  But we can use 'grep -h'
      instead, so do that in Makefile.mod{inst,post}.  The built-in test to
      /bin/sh doesn't like 'if ! cmd' syntax, so when determining if we need
      to do modversion stuff, invert the if/else cases.  The built-in test
      also doesn't understand -ef, so invoke a real version of test which does.
      Signed-off-by: default avatarTom Rini <trini@kernel.crashing.org>
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      8a0aa84c
    • Tom Rini's avatar
      kbuild: Use getopt_long in genksyms only when available · b7622cab
      Tom Rini authored
      Use getopt_long() or getopt(), depending on the host
      
      From: Jean-Christophe Dubois <jdubois@mc.com>.
      
      We do not always have GNU getopt_long(), so when we don't, just use
      getopt() and the short options.  We do this based on __GNU_LIBRARY__
      being set, or not.  Originally from Jean-Christophe Dubois <jdubois@mc.com>.
      Signed-off-by: default avatarTom Rini <trini@kernel.crashing.org>
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      b7622cab
    • Tom Rini's avatar
      kbuild: Use inttypes.h when stdint.h are not available · dca377a6
      Tom Rini authored
      The following is from Jean-Christophe Dubois <jdubois@mc.com>.
      On Solaris 2.8, <stdint.h> does not exist, but <inttypes.h> does.
      However, on Cygwin (the other odd place that the kernel is compiled
      on) <inttypes.h> doesn't exist.  So we end up testing for __sun__ and
      using <inttypes.h> there, and <stdint.h> everywhere else.
      Signed-off-by: default avatarTom Rini <trini@kernel.crashing.org>
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      dca377a6
  3. 28 Aug, 2004 23 commits
  4. 27 Aug, 2004 10 commits