aboutsummaryrefslogtreecommitdiffstats
path: root/tools/firmware-utils/src/zyxbcm.c
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2017-06-18 02:21:21 +0200
committerAlexander Couzens <lynxis@fe80.eu>2017-06-19 14:34:52 +0200
commitc47a1a3527d988b637c1daee573cbe0170ef73c6 (patch)
tree0c101781d043cf4b9fc1d4637725154c234b7d04 /tools/firmware-utils/src/zyxbcm.c
parent77dc6a2ae7c94ac3d496ebab589d4574ac7169d0 (diff)
downloadupstream-c47a1a3527d988b637c1daee573cbe0170ef73c6.tar.gz
upstream-c47a1a3527d988b637c1daee573cbe0170ef73c6.tar.bz2
upstream-c47a1a3527d988b637c1daee573cbe0170ef73c6.zip
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>
Diffstat (limited to 'tools/firmware-utils/src/zyxbcm.c')
-rw-r--r--tools/firmware-utils/src/zyxbcm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/firmware-utils/src/zyxbcm.c b/tools/firmware-utils/src/zyxbcm.c
index ffeb7cc265..1a2926bfd3 100644
--- a/tools/firmware-utils/src/zyxbcm.c
+++ b/tools/firmware-utils/src/zyxbcm.c
@@ -23,7 +23,6 @@
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
-#include <time.h>
#include <unistd.h>
#include <sys/stat.h>