summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rw-r--r--include/version.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index bc47d98931..386972890d 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
diff --git a/include/version.h b/include/version.h
index d6c7cf2ae6..777e9f68fa 100644
--- a/include/version.h
+++ b/include/version.h
@@ -19,7 +19,7 @@
#endif
#define U_BOOT_VERSION_STRING U_BOOT_VERSION " (" U_BOOT_DATE " - " \
- U_BOOT_TIME ")" CONFIG_IDENT_STRING
+ U_BOOT_TIME " " U_BOOT_TZ ")" CONFIG_IDENT_STRING
#ifndef __ASSEMBLY__
extern const char version_string[];
OpenPOWER on IntegriCloud