pass startup_tcl to command_init

Removes external linkage from helper module, making the startup
code a parameter to a new command context's initialization routine.
This commit is contained in:
Zachary T Welch
2009-11-17 09:15:09 -08:00
parent cb7dbc1af4
commit 5e229bbf87
5 changed files with 11 additions and 5 deletions

View File

@@ -116,7 +116,7 @@ BIN2C = $(builddir)/helper/bin2char$(EXEEXT_FOR_BUILD)
# Convert .tcl to cfile
startup_tcl.c: startup.tcl $(BIN2C)
$(BIN2C) startup_tcl < $< > $@ || rm -f $@
$(BIN2C) openocd_startup_tcl < $< > $@ || rm -f $@
# add startup_tcl.c to make clean list
CLEANFILES = startup.tcl startup_tcl.c