Fix variation in timestamps caused by timezone differences.
authorVagrant Cascadian <vagrant@debian.org>
Fri, 2 Oct 2015 16:11:51 +0000 (09:11 -0700)
committerTom Rini <trini@konsulko.com>
Sun, 11 Oct 2015 21:12:12 +0000 (17:12 -0400)
commit0219e4bfb4d31aed8bbbcf36b00b92844b9b5eb9
treeffb61433bb390ba7138d804a70ddf50604acf6c9
parent1fec3c5d832d6e0cac10135179016b0640f1a863
Fix variation in timestamps caused by timezone differences.

When building with SOURCE_DATE_EPOCH set, avoid use of mktime in
default_image.c, which converts the timestamp into localtime. This
causes variation based on timezone when building u-boot.img and
u-boot-sunxi-with-spl.bin targets.

Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
Tested-by: Paul Kocialkowski <contact@paulk.fr>
Acked-by: Paul Kocialkowski <contact@paulk.fr>
tools/default_image.c