aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChris Packham2015-05-10 21:02:09 +1200
committerTom Rini2015-05-27 13:35:55 -0400
commite186851ae4f0a4c8b75108930b61a5f74baf6ed4 (patch)
tree8cff2b18403594da053a3cc97878bfc66ef98808 /Makefile
parent0373a7e91b1fc1c3652669a4481219daf06e12e9 (diff)
Makefile: Add U_BOOT_TZ and include in version
Define U_BOOT_TZ alongside U_BOOT_TIME and U_BOOT_DATE and use it to include the timezone in the version output. Acked-by: Simon Glass <sjg@chromium.org> Signed-off-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index bc47d98931a..386972890db 100644
--- a/Makefile
+++ b/Makefile
@@ -1232,7 +1232,8 @@ endef
define filechk_timestamp.h
(LC_ALL=C date +'#define U_BOOT_DATE "%b %d %C%y"'; \
- LC_ALL=C date +'#define U_BOOT_TIME "%T"')
+ LC_ALL=C date +'#define U_BOOT_TIME "%T"'; \
+ LC_ALL=C date +'#define U_BOOT_TZ "%z"')
endef
$(version_h): include/config/uboot.release FORCE