firmware-utils: honor env SOURCE_DATE_EPOCH
authorAlexander Couzens <lynxis@fe80.eu>
Sun, 18 Jun 2017 00:21:21 +0000 (02:21 +0200)
committerAlexander Couzens <lynxis@fe80.eu>
Mon, 19 Jun 2017 12:34:52 +0000 (14:34 +0200)
commitc47a1a3527d988b637c1daee573cbe0170ef73c6
tree0c101781d043cf4b9fc1d4637725154c234b7d04
parent77dc6a2ae7c94ac3d496ebab589d4574ac7169d0
firmware-utils: honor env SOURCE_DATE_EPOCH

Use the timestamp from the enviroment SOURCE_DATE_EPOCH
if set instead of the build time.
Fixes reproducible builds for certain firmware images.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
tools/firmware-utils/src/addpattern.c
tools/firmware-utils/src/hcsmakeimage.c
tools/firmware-utils/src/imagetag.c
tools/firmware-utils/src/jcgimage.c
tools/firmware-utils/src/mkrtn56uimg.c
tools/firmware-utils/src/spw303v.c
tools/firmware-utils/src/tplink-safeloader.c
tools/firmware-utils/src/xorimage.c
tools/firmware-utils/src/zyxbcm.c