]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/version.h
Merge branch 'u-boot-samsung/master' into 'u-boot-arm/master'
[karo-tx-uboot.git] / include / version.h
index b56d2e9900b8309c66d3f265ab73b03ebd46137e..c908bd30138f49258b29e73cda23b4b8cbd19fc8 100644 (file)
 #ifndef        __VERSION_H__
 #define        __VERSION_H__
 
-#include "version_autogenerated.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 ")" CONFIG_IDENT_STRING
+
+#ifndef __ASSEMBLY__
+extern const char version_string[];
+#endif /* __ASSEMBLY__ */
 #endif /* __VERSION_H__ */