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