[OE-core] [PATCH] kernel.bbclass: improve reproducibility

Burton, Ross ross.burton at intel.com
Thu May 18 21:10:01 UTC 2017


On 18 May 2017 at 22:05, Juro Bystricky <juro.bystricky at intel.com> wrote:

> Kernel and kernel modules contain hard coded paths referencing the host
> build system. This is usually because the source code contains __FILE__
> at some place. This prevents binary reproducibility. However, some
> compilers
> allow remapping of the __FILE__ value. If we detect the compiler is capable
> of doing this, we replace the source path $(S) part of __FILE__ by a
> string "/kernel-source".
> For example:
>

Is this not something we should do globally?

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170518/af9d5c43/attachment-0002.html>


More information about the Openembedded-core mailing list