mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-30 00:21:06 +00:00
e186851ae4
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>
27 lines
574 B
C
27 lines
574 B
C
/*
|
|
* (C) Copyright 2000-2006
|
|
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef __VERSION_H__
|
|
#define __VERSION_H__
|
|
|
|
#include <timestamp.h>
|
|
|
|
#ifndef DO_DEPS_ONLY
|
|
#include "generated/version_autogenerated.h"
|
|
#endif
|
|
|
|
#ifndef CONFIG_IDENT_STRING
|
|
#define CONFIG_IDENT_STRING ""
|
|
#endif
|
|
|
|
#define U_BOOT_VERSION_STRING U_BOOT_VERSION " (" U_BOOT_DATE " - " \
|
|
U_BOOT_TIME " " U_BOOT_TZ ")" CONFIG_IDENT_STRING
|
|
|
|
#ifndef __ASSEMBLY__
|
|
extern const char version_string[];
|
|
#endif /* __ASSEMBLY__ */
|
|
#endif /* __VERSION_H__ */
|