summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 $@