summaryrefslogtreecommitdiffstats
path: root/oe-init-build-env
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2020-05-13 10:24:35 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-05-15 16:24:15 +0100
commit82cdfcdccfedd320ebc0cdc778c7d4966198b96f (patch)
tree35532e6e6eb9dbf076882cc0921d677094871c0b /oe-init-build-env
parentd2fdd473db5446b0e96ad4f774121129fbf94e0e (diff)
downloadopenembedded-core-contrib-82cdfcdccfedd320ebc0cdc778c7d4966198b96f.tar.gz
kernel/reproducibility: kernel modules need SOURCE_DATE_EPOCH export
If CONFIG_IKHEADERS is set to =m, then reproducibility issues creep into the modules build, since the variables we are setting for the main kernel build are not present. Since the source code must be available for a possibly git query on the timestamp, there didn't seem to be an easy way to move the environment variable setting to a common routine. As such, we duplicate the block of code that exports the required variables for reproducible builds. There is a maintenance risk to this, but any issues should be easy enough to catch. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'oe-init-build-env')
0 files changed, 0 insertions, 0 deletions