firmware-utils: mkdlinkfw: create reproducible header
authorMathias Kresin <dev@kresin.me>
Sat, 5 Jan 2019 06:34:02 +0000 (07:34 +0100)
committerMathias Kresin <dev@kresin.me>
Sun, 13 Jan 2019 17:31:10 +0000 (18:31 +0100)
commite428b127e7c9964a20cfd4cfb30b43262a10bfbe
tree7341b5868a2f27c63a70926966b875eaac1db9f8
parentf4aa9d8839958c39d24d7cca3d3215efad98a1e2
firmware-utils: mkdlinkfw: create reproducible header

Use the SOURCE_DATE_EPOCH environment variable if set instead of the
current time. The used timestamp matches the timestamp of the latest
commit this way and make the images reproducible.

Signed-off-by: Mathias Kresin <dev@kresin.me>
tools/firmware-utils/src/mkdlinkfw-lib.c