1. 07 Sep, 2004 1 commit
    • Sam Ravnborg's avatar
      kbuild: Drop use of built-in.o in top level makefile · 6fb4fec9
      Sam Ravnborg authored
      built-in.o were introduced in top-level Makefile to saves us from
      linking the same .o files several times when kallsyms were enabled.
      Unfortunately this caused a hard lock-up on x86_64 - so this patch drops
      built-in.o again. Please note is was working on i386.
      
      This patch also fixes some wording/spellings noticed by: Horst von Brand <vonbrand@inf.utfsm.cl>
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      6fb4fec9
  2. 06 Sep, 2004 3 commits
    • Sam Ravnborg's avatar
      kbuild: Enable compile after localversion change · ed186fff
      Sam Ravnborg authored
      Last minute change to localversion patch were faulty.
      filechk needs a valid '$^' file. In this case unused but make sure to supply one.
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      ed186fff
    • Steven Cole's avatar
      scripts: Update ver_linux for recent reiserfsprogs · 330a08b8
      Steven Cole authored
      The ver_linux script is fixed to report recent versions of
      reiserfsprogs.  (Older versions had "reiserfsprogs" in the
      line containing the version number, while recent versions
      report "reiserfsck" followed by version number).
      
      The ver_linux script is updated to report the reiser4progs
      version number.
      
      This was tested with reiserfsprogs 3.6.11, 3.6.18 and
      reiser4progs 1.0.0.
      Signed-off-by: default avatarSteven Cole <elenstev@mesatop.com>
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      330a08b8
    • 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
  3. 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
  4. 02 Sep, 2004 1 commit
  5. 01 Sep, 2004 1 commit
  6. 31 Aug, 2004 1 commit
  7. 30 Aug, 2004 4 commits
  8. 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
  9. 28 Aug, 2004 23 commits