diff options
-rwxr-xr-x | build | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 $@ |