X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2FMakefile.am;h=913118f25cfa67c561d23b4a7a2dd967559442a0;hp=7a88681105f6862e32519331d27536f89d5a5fac;hb=c4992c6d863d0ead91d84d19bbfe1643d720b205;hpb=cb7dbc1af41068f826246beb53870c01d8973bb8 diff --git a/src/Makefile.am b/src/Makefile.am index 7a88681105..913118f25c 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -112,11 +112,11 @@ BUILT_SOURCES = startup.tcl startup.tcl: $(STARTUP_TCL_SRCS) cat $^ > $@ -BIN2C = $(builddir)/helper/bin2char$(EXEEXT_FOR_BUILD) +BIN2C = $(top_builddir)/src/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