projects
/
fw
/
openocd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6907ef9
)
More svn to git version string fixes.
author
Øyvind Harboe
<oyvind.harboe@zylin.com>
Tue, 20 Oct 2009 07:46:23 +0000
(09:46 +0200)
committer
Øyvind Harboe
<oyvind.harboe@zylin.com>
Tue, 20 Oct 2009 07:46:23 +0000
(09:46 +0200)
src/jtag/zy1000/zy1000.c
patch
|
blob
|
history
diff --git
a/src/jtag/zy1000/zy1000.c
b/src/jtag/zy1000/zy1000.c
index dc0efb0b531684ee337ee862835559267fbf9fc1..e56f6d2144415d7be5bd0e72f47069f084b2b6e8 100644
(file)
--- a/
src/jtag/zy1000/zy1000.c
+++ b/
src/jtag/zy1000/zy1000.c
@@
-32,7
+32,7
@@
#define ZYLIN_DATE __DATE__
#define ZYLIN_TIME __TIME__
#define ZYLIN_OPENOCD GIT_OPENOCD_VERSION
-#define ZYLIN_OPENOCD_VERSION "Z
ylin JTAG ZY1000 " ZYLIN_VERSION " " ZYLIN_DATE " " ZYLIN_TIM
E
+#define ZYLIN_OPENOCD_VERSION "Z
Y1000 " ZYLIN_VERSION " " ZYLIN_DAT
E
/* low level command set
*/
@@
-280,6
+280,10
@@
static int jim_zy1000_version(Jim_Interp *interp, int argc, Jim_Obj *const *argv
{
version_str = ZYLIN_DATE;
}
+ else if (strcmp("time", str) == 0)
+ {
+ version_str = ZYLIN_TIME;
+ }
else if (strcmp("pcb", str) == 0)
{
#ifdef CYGPKG_HAL_NIOS2