kbuild: override build timestamp & version
authorSam Ravnborg <sam@neptun.ravnborg.org>
Sun, 1 Apr 2007 19:49:27 +0000 (21:49 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Wed, 2 May 2007 18:58:09 +0000 (20:58 +0200)
commit87c94bfb8ad354fb43d2caf870d7ca0b3f98dab3
tree796c87da12f564e5ecb5a0c1d57ea94c9dd7604a
parentb72e53f8bbbec8421316220291d8a8002a5562ba
kbuild: override build timestamp & version

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: Sam Ravnborg <sam@ravnborg.org>
scripts/mkcompile_h