1. 10 1月, 2006 4 次提交
    • S
      kbuild: re-export VERSION, PATCHLEVEL, SUBLEVEL · 4f0210b9
      Sam Ravnborg 提交于
      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: NSam Ravnborg <sam@ravnborg.org>
      4f0210b9
    • S
      kbuild: KERNELRELEASE is only re-defined when buiding the kernel · cb58455c
      Sam Ravnborg 提交于
      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: NSam Ravnborg <sam@ravnborg.org>
      cb58455c
    • S
      kbuild/xfs: introduce fs/xfs/Kbuild · a9aa1ffa
      Sam Ravnborg 提交于
      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: NSam Ravnborg <sam@ravnborg.org>
      a9aa1ffa
    • H
      kbuild: drop vmlinux dependency from "make install" · 0d20babd
      H. Peter Anvin 提交于
      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: NH. Peter Anvin <hpa@zytor.com>
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      0d20babd
  2. 09 1月, 2006 8 次提交
  3. 07 1月, 2006 6 次提交
  4. 06 1月, 2006 22 次提交