Reproducible U-Boot build support, using SOURCE_DATE_EPOCH
authorPaul Kocialkowski <contact@paulk.fr>
Sun, 26 Jul 2015 16:48:15 +0000 (18:48 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 27 Jul 2015 19:03:14 +0000 (15:03 -0400)
commitf3f431a712729a1af94d01bd1bfde17a252ff02c
tree8ce4a040eac05ef88909a5407cacc8b70add84ae
parent9c5748775228f6648a99d1e28acef92012fa031e
Reproducible U-Boot build support, using SOURCE_DATE_EPOCH

In order to achieve reproducible builds in U-Boot, timestamps that are defined
at build-time have to be somewhat eliminated. The SOURCE_DATE_EPOCH environment
variable allows setting a fixed value for those timestamps.

Simply by setting SOURCE_DATE_EPOCH to a fixed value, a number of targets can be
built reproducibly. This is the case for e.g. sunxi devices.

However, some other devices might need some more tweaks, especially regarding
the image generation tools.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Makefile
README
tools/default_image.c