X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=include%2Fversion.h;h=c908bd30138f49258b29e73cda23b4b8cbd19fc8;hb=96764df1b47ddebfb50fadf5af72530b07b5fc89;hp=4f8b498cf37bf0b59f91c2e06e84d4570e85661e;hpb=4dc37144f0838e5d36bf35a02ec6205e2ab77c5e;p=karo-tx-uboot.git diff --git a/include/version.h b/include/version.h index 4f8b498cf3..c908bd3013 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 1.1.4" +#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__ */