From efc6063df873b3419010ad66d183b997d52e630c Mon Sep 17 00:00:00 2001 From: oharboe Date: Fri, 11 Jul 2008 06:44:22 +0000 Subject: startup.tcl (former commands.tcl) is now embedded into OpenOCD executable. git-svn-id: svn://svn.berlios.de/openocd/trunk@787 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/Makefile.am | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index ff0eb6e5..1c96fb47 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -7,7 +7,7 @@ MAINFILE = main.c jim.c endif -openocd_SOURCES = $(MAINFILE) openocd.c +openocd_SOURCES = $(MAINFILE) openocd.c startup.c # set the include path found by configure INCLUDES = -I$(top_srcdir)/src/helper \ @@ -82,7 +82,6 @@ openocd_LDADD = $(top_builddir)/src/xsvf/libxsvf.a \ nobase_dist_pkglib_DATA = \ - tcl/commands.tcl \ tcl/bitsbytes.tcl \ tcl/chip/atmel/at91/aic.tcl \ tcl/chip/atmel/at91/at91sam7x128.tcl \ @@ -98,3 +97,6 @@ nobase_dist_pkglib_DATA = \ tcl/mmr_helpers.tcl \ tcl/readable.tcl +# Convert .tcl to .c file +startup.c: $(top_srcdir)/src/startup.tcl Makefile $(top_srcdir)/src/file2c.tcl + tclsh $(top_srcdir)/src/file2c.tcl $(top_srcdir)/src/startup.tcl startup.c \ No newline at end of file -- cgit v1.2.3