1. 06 Sep, 2004 1 commit
    • Sam Ravnborg's avatar
      kbuild: Simplify generating vmlinux · e9ba0414
      Sam Ravnborg authored
      Generating vmlinux in top-level Makefile were getting a bit messy after kallsyms
      support were added. Also the full link of all the .o files were duplicaed a number of times.
      This patch does the following:
      - Introduce built-in.o which is a prelink of most .o files
      - Make the build process a bit more verbose telling when linking .tmpvmlinux*
      - Use less magic when determing when to generate a new version
      - Allow architectures to override the defineition of cmd_vmlinux__
      - Add more comments to the MAkefile and clean up soem other comments
      - Display more commends during V=1 builds
      
      The resulting kernel boots and rn here.
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      e9ba0414
  2. 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
  3. 02 Sep, 2004 1 commit
  4. 01 Sep, 2004 1 commit
  5. 31 Aug, 2004 1 commit
  6. 30 Aug, 2004 4 commits
  7. 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
  8. 28 Aug, 2004 23 commits
  9. 27 Aug, 2004 3 commits