Skip to content
Snippets Groups Projects
Commit e4dba30b authored by Øyvind Harboe's avatar Øyvind Harboe
Browse files

More svn to git version string fixes.

parent 6907ef9d
No related branches found
No related tags found
No related merge requests found
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
#define ZYLIN_DATE __DATE__ #define ZYLIN_DATE __DATE__
#define ZYLIN_TIME __TIME__ #define ZYLIN_TIME __TIME__
#define ZYLIN_OPENOCD GIT_OPENOCD_VERSION #define ZYLIN_OPENOCD GIT_OPENOCD_VERSION
#define ZYLIN_OPENOCD_VERSION "Zylin JTAG ZY1000 " ZYLIN_VERSION " " ZYLIN_DATE " " ZYLIN_TIME #define ZYLIN_OPENOCD_VERSION "ZY1000 " ZYLIN_VERSION " " ZYLIN_DATE
/* low level command set /* low level command set
*/ */
...@@ -280,6 +280,10 @@ static int jim_zy1000_version(Jim_Interp *interp, int argc, Jim_Obj *const *argv ...@@ -280,6 +280,10 @@ static int jim_zy1000_version(Jim_Interp *interp, int argc, Jim_Obj *const *argv
{ {
version_str = ZYLIN_DATE; version_str = ZYLIN_DATE;
} }
else if (strcmp("time", str) == 0)
{
version_str = ZYLIN_TIME;
}
else if (strcmp("pcb", str) == 0) else if (strcmp("pcb", str) == 0)
{ {
#ifdef CYGPKG_HAL_NIOS2 #ifdef CYGPKG_HAL_NIOS2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment