]> 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>
Thu, 25 May 2017 22:35:50 +0000 (23:35 +0100)
commita5a14edb5573e33667b63b1e34cb4e19d075e8e8
treeefc1c01da5c189d13dd505e6b049f025ade56ca6
parent559151e783759af78b5cdd76cdbb9ce325a391e6
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