]> code.ossystems Code Review - openembedded-core.git/commit
kernel: predefine KBUILD_BUILD_USER and KBUILD_BUILD_HOST
authorJoshua Lock <joshua.g.lock@intel.com>
Fri, 19 May 2017 15:53:06 +0000 (16:53 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 11 Jun 2017 22:00:49 +0000 (23:00 +0100)
commit357801a491efc067c6d4bd9a2bfa6fff460357aa
tree55709c1c16346bc335f17baa2a8511456a75106d
parent4ca4e781f1c62696f896d7027081f759798794aa
kernel: predefine KBUILD_BUILD_USER and KBUILD_BUILD_HOST

By exporting KBUILD_BUILD_USER with a pre-defined value we improve the
reproducibility of the kernel and remove the requirement for whoami in the
HOSTTOOLS.
KBUILD_BUILD_HOST also helps improve the reproducibility of the kernel.

For more kernel reproducibility options see:
https://lwn.net/Articles/437864/

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/kernel.bbclass