1. 05 Sep, 2004 2 commits
    • Ian Wienand's avatar
      kbuild: Support LOCALVERSION · ef41e994
      Ian Wienand authored
      Add LOCALVERSION so we can append strings that show up in uname
      without having to fiddle with the Makefile and EXTRAVERSION, etc.
      
      * localversion* files are read first
      * config variable is appended last
      * LOCALVERSION from the command line overrides all of this
      * check is forced on build, since we can't really know when
        the config or environment options change.
      Signed-off-by: default avatarIan Wienand <ianw@gelato.unsw.edu.au>
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      ef41e994
    • Brian Gerst's avatar
      kbuild: use KERNELRELEASE · f7e7e745
      Brian Gerst authored
      This patch changes several places where the kernel version string is put
      together from it's components with $KERNELRELEASE.
      
      From: Brian Gerst <bgerst@quark.didntduck.org>
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      f7e7e745
  2. 02 Sep, 2004 1 commit
  3. 01 Sep, 2004 1 commit
  4. 31 Aug, 2004 1 commit
  5. 30 Aug, 2004 4 commits
  6. 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
  7. 28 Aug, 2004 23 commits
  8. 27 Aug, 2004 4 commits