• Sam Ravnborg's avatar
    kbuild: introduce utsrelease.h · 63104eec
    Sam Ravnborg authored
    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: default avatarSam Ravnborg <sam@ravnborg.org>
    63104eec
version.c 778 Bytes