xref: /openbmc/u-boot/tools/version.h (revision b9553986)
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * (C) Copyright 2000-2006
4  * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5  */
6 
7 #ifndef	__VERSION_H__
8 #define	__VERSION_H__
9 
10 #include <timestamp.h>
11 
12 #ifndef DO_DEPS_ONLY
13 #include "generated/version_autogenerated.h"
14 #endif
15 
16 #define U_BOOT_VERSION_STRING U_BOOT_VERSION " (" U_BOOT_DATE " - " \
17 	U_BOOT_TIME " " U_BOOT_TZ ")" CONFIG_IDENT_STRING
18 
19 #ifndef __ASSEMBLY__
20 extern const char version_string[];
21 #endif	/* __ASSEMBLY__ */
22 #endif	/* __VERSION_H__ */
23