summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-07-16 17:34:23 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-07-16 17:39:29 (EDT)
commit85db886c0755b8638d24dbf3ba774b1b064dc229 (patch)
treed67f3e8225d9d3d0152672729c9cfefc70017175
parentb961ccc747a5bdd4d75902694ef91294af28d000 (diff)
build: Set KBUILD_BUILD_TIMESTAMP and TZ
-rwxr-xr-xbuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/build b/build
index 0b00ac7..9dc17d3 100755
--- a/build
+++ b/build
@@ -29,7 +29,10 @@ build:
sed $(nsif_sed) src/Makefile.orig 1>src/Makefile; \
fi; \
read img_src img_dest <image; \
- oh-autobuild -T "$${img_src}" -- -j "$${JOBS:-$(JOBS)}" V=$(V); \
+ oh-autobuild -T "$${img_src}" -- \
+ -j "$${JOBS:-$(JOBS)}" \
+ V=$(V) \
+ KBUILD_BUILD_TIMESTAMP=@$(SOURCE_DATE_EPOCH) TZ=UTC0; \
fi
touch $@