]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/version.h
unify version_string
[people/ms/u-boot.git] / include / version.h
index a34291adc5d9ae8ace49cd18e8613c91b9420da9..ec4e1f808d518e749352eb30b6888322aefd182c 100644 (file)
 #ifndef        __VERSION_H__
 #define        __VERSION_H__
 
+#include <timestamp.h>
+
 #ifndef DO_DEPS_ONLY
 #include "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 ")" CONFIG_IDENT_STRING
+
+extern const char version_string[];
+
 #endif /* __VERSION_H__ */