X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fversion.h;h=129acef0b8335f4d4376755ad2ad9910a8bc0004;hb=ec556ffccd5ba0902123a0c412b9d17576d4333d;hp=9d0dbb3cb4928fb8d24d031fdefe85e849eb41fd;hpb=b37c7e5e5c3c80c68f49a31c4308b159bb5bda1a;p=u-boot diff --git a/include/version.h b/include/version.h index 9d0dbb3cb4..129acef0b8 100644 --- a/include/version.h +++ b/include/version.h @@ -1,5 +1,5 @@ /* - * (C) Copyright 2000-2003 + * (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.4.2" +#include +#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 + +#ifndef __ASSEMBLY__ +extern const char version_string[]; +#endif /* __ASSEMBLY__ */ #endif /* __VERSION_H__ */