kbuild: introduce utsrelease.h
authorSam Ravnborg <sam@mars.ravnborg.org>
Mon, 3 Jul 2006 21:30:54 +0000 (23:30 +0200)
committerSam Ravnborg <sam@mars.ravnborg.org>
Mon, 3 Jul 2006 21:30:54 +0000 (23:30 +0200)
commit63104eec234bdecb55fd9c15467ae00d0a3f42ac
treeaee8fd42c0904cbc8671a7c023a421277db1b16f
parent05668381140309088443bf5dc53add4104610fbb
kbuild: introduce utsrelease.h

include/linux/version.h contained both actual KERNEL version
and UTS_RELEASE that contains a subset from git SHA1 for when
kernel was compiled as part of a git repository.
This had the unfortunate side-effect that all files including version.h
would be recompiled when some git changes was made due to changes SHA1.
Split it out so we keep independent parts in separate files.

Also update checkversion.pl script to no longer check for UTS_RELEASE.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
14 files changed:
Makefile
arch/alpha/boot/bootp.c
arch/alpha/boot/bootpz.c
arch/alpha/boot/main.c
arch/frv/kernel/setup.c
arch/i386/boot/setup.S
arch/powerpc/platforms/chrp/setup.c
arch/powerpc/platforms/powermac/bootx_init.c
arch/ppc/syslib/btext.c
arch/x86_64/boot/setup.S
drivers/net/wireless/bcm43xx/bcm43xx_ethtool.c
include/linux/vermagic.h
init/version.c
scripts/checkversion.pl