From e186851ae4f0a4c8b75108930b61a5f74baf6ed4 Mon Sep 17 00:00:00 2001 From: Chris Packham Date: Sun, 10 May 2015 21:02:09 +1200 Subject: 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 Signed-off-by: Chris Packham --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.1