1. 09 Jan, 2006 4 commits
    • Sam Ravnborg's avatar
      kbuild: re-export VERSION, PATCHLEVEL, SUBLEVEL · 4f0210b9
      Sam Ravnborg authored
      Eric Sandeen <sandeen@sgi.com> pointed out that it is usefull to have
      access to VERSION, PATCHLEVEL, SUBLEVEL in external modules, and gooling
      a litte confirmed this.
      So re-export them.
      Usage within the kernel is still discouraged but possible.
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      4f0210b9
    • Sam Ravnborg's avatar
      kbuild: KERNELRELEASE is only re-defined when buiding the kernel · cb58455c
      Sam Ravnborg authored
      To avoid running setlocalversion as root no longer (re-)define
      KERNELRELEASE for each run. With this patch KERNELRELEASE is
      only re-read when we do an actual kernel build.
      Rationale behind this is "do as little as possible" when executing
      make install - as root!
      
      A new file named .kernelrelease is strored in the root of the kernel
      tree containing the actual version string.
      So when we use do a kernel build the .kernelrelease file will be updated.
      But in all other situations it is left as-is.
      
      To make it more visible the kernel now prints out the version being build.
      Sample:
      Building kernel 2.6.15-g63b794bf-dirty
      ...
      ...
      
      The patch also un-exports VERSION PATCHLEVEL SUBLEVEL EXTRAVERSION LOCALVERSION
      since all users of these are anyway broken - and none is left in the
      tree.
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      cb58455c
    • Sam Ravnborg's avatar
      kbuild/xfs: introduce fs/xfs/Kbuild · a9aa1ffa
      Sam Ravnborg authored
      In kbuild the file named 'Kbuild' has precedence over the file named
      Makefile. Utilise a file named Kbuild to include the 2.6 Makefile for xfs
      - since the xfs people likes to keep their arch specific Makefiles separate.
      
      With this patch xfs does no longer rely on the KERNELRELEASE components to be global.
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      a9aa1ffa
    • H. Peter Anvin's avatar
      kbuild: drop vmlinux dependency from "make install" · 0d20babd
      H. Peter Anvin authored
      This removes the dependency from vmlinux to install, thus avoiding the
      current situation where "make install" has a nasty tendency to leave
      root-turds in the working directory.
      
      It also updates x86-64 to be in sync with i386.
      Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      0d20babd
  2. 08 Jan, 2006 8 commits
  3. 06 Jan, 2006 12 commits
  4. 05 Jan, 2006 16 commits