• Sam Ravnborg's avatar
    kbuild: override build timestamp & version · 87c94bfb
    Sam Ravnborg authored
    
    
    Introduce KBUILD_BUILD_VERSION to make it
    possible to override kernel build version
    during build time.
    
    Introduce KBUILD_BUILD_TIMESTAMP to make it
    possible to override kernel build timestamp
    during build time.
    
    But variables are useful mainly by distros
    that want to pass info from an SCM when
    building the kernel. Timestamp could be last
    checkin date for a file etc.
    
    The idea came from Olaf Hering <olaf@aepfle.de>
    
    Cc: Olaf Hering <olaf@aepfle.de>
    Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
    87c94bfb