X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=include%2Fversion.h;h=c908bd30138f49258b29e73cda23b4b8cbd19fc8;hb=944b6ccf1bc436546844536bf62ba62a906ed4e4;hp=b501028bd5c8e3d2d6d43d81154c09c2ac4b1f1b;hpb=288b3d7f5a54c987ecdfc5add4c7c25d36a9a3e1;p=u-boot diff --git a/include/version.h b/include/version.h index b501028bd5..c908bd3013 100644 --- a/include/version.h +++ b/include/version.h @@ -1,5 +1,5 @@ /* - * (C) Copyright 2000-2002 + * (C) Copyright 2000-2006 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. * * See file CREDITS for list of people who contributed to this @@ -24,6 +24,20 @@ #ifndef __VERSION_H__ #define __VERSION_H__ -#define U_BOOT_VERSION "U-Boot 0.2.1" +#include +#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__ */