comparison packages/redboot/current/src/version.c @ 172:cd45958b28ff

Merge from eCos master repository on 2001-07-20-10:24:43-BST
author jlarmour
date Fri, 20 Jul 2001 10:23:16 +0000
parents b939e9cada46
children 4c750ce71ae3
comparison
equal deleted inserted replaced
171:42f843b391aa 172:cd45958b28ff
41 // 41 //
42 //####DESCRIPTIONEND#### 42 //####DESCRIPTIONEND####
43 // 43 //
44 //========================================================================== 44 //==========================================================================
45 45
46 #include <pkgconf/redboot.h>
46 #include <cyg/hal/hal_arch.h> 47 #include <cyg/hal/hal_arch.h>
47 48
48 // 49 //
49 // These strings are used for informational purposes only. If the end 50 // These strings are used for informational purposes only. If the end
50 // user wishes to replace them, simply redefine them in a platform specific 51 // user wishes to replace them, simply redefine them in a platform specific
56 // possible to replace it with a local version contained in the "build" tree. 57 // possible to replace it with a local version contained in the "build" tree.
57 // Replacing the information exported herein is accomplished via the techniques 58 // Replacing the information exported herein is accomplished via the techniques
58 // outlined above. 59 // outlined above.
59 // 60 //
60 61
61 char RedBoot_version[] CYGBLD_ATTRIB_WEAK = 62 #if defined(CYGDAT_REDBOOT_CUSTOM_VERSION)
62 "\nRedBoot(tm) bootstrap and debug environment - built " __TIME__ ", " __DATE__ "\n\n"; 63 #define _REDBOOT_VERSION CYGDAT_REDBOOT_CUSTOM_VERSION
64 #elif defined(CYGPKG_REDBOOT_current)
65 #define _REDBOOT_VERSION UNKNOWN
66 #else
67 #define _REDBOOT_VERSION CYGPKG_REDBOOT
68 #endif
69 #define __s(x) #x
70 #define _s(x) __s(x)
71
72 char RedBoot_version[] CYGBLD_ATTRIB_WEAK =
73 "\nRedBoot(tm) bootstrap and debug environment, version "
74 _s(_REDBOOT_VERSION) " - built " __TIME__ ", " __DATE__ "\n\n";
63 75
64 // Override default GDB stubs 'info' 76 // Override default GDB stubs 'info'
65 // Note: this can still be a "weak" symbol since it will occur in the .o 77 // Note: this can still be a "weak" symbol since it will occur in the .o
66 // file explicitly mentioned in the link command. User programs will 78 // file explicitly mentioned in the link command. User programs will
67 // still be allowed to override it. 79 // still be allowed to override it.