kbuild: Allow to override LINUX_COMPILE_BY and LINUX_COMPILE_HOST macros
authorMichal Marek <mmarek@suse.cz>
Tue, 5 Apr 2011 12:32:30 +0000 (14:32 +0200)
committerMichal Marek <mmarek@suse.cz>
Mon, 18 Apr 2011 12:26:55 +0000 (14:26 +0200)
commit53e6892c0411006848882eacfcfea9e93681b55d
treeaf622e1ec2b1a66961749596ba3b3cf45370f114
parent061296dc2c14f852604fc6849669fe0b78bb1eda
kbuild: Allow to override LINUX_COMPILE_BY and LINUX_COMPILE_HOST macros

Make it possible to override the user@host string displayed during boot
and in /proc/version by the environment variables KBUILD_BUILD_USER and
KBUILD_BUILD_HOST. Several distributions patch scripts/mkcompile_h to
achieve this, so let's provide an official way. Also, document the
KBUILD_BUILD_TIMESTAMP variable while at it.

Signed-off-by: Michal Marek <mmarek@suse.cz>
Documentation/kbuild/kbuild.txt
scripts/mkcompile_h