From e29ed183fc0259defbc47d93f23d7a9a09086916 Mon Sep 17 00:00:00 2001 From: zwelch Date: Tue, 12 May 2009 07:12:10 +0000 Subject: Update rlink_make_speed_table.pl script to add config.h to its output. git-svn-id: svn://svn.berlios.de/openocd/trunk@1754 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- .../rlink_make_speed_table/rlink_make_speed_table.pl | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) (limited to 'tools/rlink_make_speed_table') diff --git a/tools/rlink_make_speed_table/rlink_make_speed_table.pl b/tools/rlink_make_speed_table/rlink_make_speed_table.pl index f35c9edb..910fbf82 100755 --- a/tools/rlink_make_speed_table/rlink_make_speed_table.pl +++ b/tools/rlink_make_speed_table/rlink_make_speed_table.pl @@ -21,13 +21,20 @@ # A simple utility to read a list of files (names composed by numeric prescaler arguments) and compose a C source file defining data structures which hold the binary data read from those files. -@speed_table = (); +my @speed_table = (); -printf("/* This file was created automatically by %s. */\n\n", $0); -for $i ('rlink', 'st7') { - printf("#include \"$i.h\"\n"); -} -printf("\n"); +print < $a} @ARGV) { my(@ary) = ( -- cgit v1.2.3