- remove unused objcopy from configure.in
- make sure bin2char is built before openocd - add generated startup_tcl.c to clean list - pass startup_tcl directly to Jim_Eval git-svn-id: svn://svn.berlios.de/openocd/trunk@805 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -1,8 +1,27 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Dominic Rath *
|
||||
* Dominic.Rath@gmx.de *
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU General Public License as published by *
|
||||
* the Free Software Foundation; either version 2 of the License, or *
|
||||
* (at your option) any later version. *
|
||||
* *
|
||||
* This program is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU General Public License *
|
||||
* along with this program; if not, write to the *
|
||||
* Free Software Foundation, Inc., *
|
||||
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
|
||||
***************************************************************************/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
int
|
||||
main(int argc, char **argv)
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
int c;
|
||||
unsigned int n;
|
||||
@@ -24,7 +43,6 @@ main(int argc, char **argv)
|
||||
if ((++n % 16) == 0)
|
||||
fprintf(stdout, "\n");
|
||||
}
|
||||
fprintf(stdout, "0 /* terminate with a nil */};\n");
|
||||
fprintf(stdout, "unsigned int %s_len = %u;\n", name, n);
|
||||
fprintf(stdout, "0 /* terminate with a null */};\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user