diff options
author | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-07-03 23:30:54 +0200 |
---|---|---|
committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-07-03 23:30:54 +0200 |
commit | 63104eec234bdecb55fd9c15467ae00d0a3f42ac (patch) | |
tree | aee8fd42c0904cbc8671a7c023a421277db1b16f /init | |
parent | 05668381140309088443bf5dc53add4104610fbb (diff) | |
download | lwn-63104eec234bdecb55fd9c15467ae00d0a3f42ac.tar.gz lwn-63104eec234bdecb55fd9c15467ae00d0a3f42ac.zip |
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>
Diffstat (limited to 'init')
-rw-r--r-- | init/version.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/init/version.c b/init/version.c index 3ddc3ceec2fe..e290802c6bd2 100644 --- a/init/version.c +++ b/init/version.c @@ -10,6 +10,7 @@ #include <linux/module.h> #include <linux/uts.h> #include <linux/utsname.h> +#include <linux/utsrelease.h> #include <linux/version.h> #define version(a) Version_ ## a |