summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-07-16 17:47:53 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-07-16 17:47:53 (EDT)
commit332e1b446bc743b06e7e32fbb1116de24ee824f6 (patch)
treea976ac9ecb40715e82d8163b88a26b9ab39e5a69
parent85db886c0755b8638d24dbf3ba774b1b064dc229 (diff)
build: The documentation lied
-rwxr-xr-xbuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/build b/build
index 9dc17d3..657402c 100755
--- a/build
+++ b/build
@@ -32,7 +32,8 @@ build:
oh-autobuild -T "$${img_src}" -- \
-j "$${JOBS:-$(JOBS)}" \
V=$(V) \
- KBUILD_BUILD_TIMESTAMP=@$(SOURCE_DATE_EPOCH) TZ=UTC0; \
+ KBUILD_BUILD_TIMESTAMP="$$(TZ=UTC0 \
+ date -d '@$(SOURCE_DATE_EPOCH)' '+%Y-%m-%d')"; \
fi
touch $@