From f1b04a20dcf6baedbd0f06a38d8748586d48dbb7 Mon Sep 17 00:00:00 2001 From: Paul Fertser Date: Sun, 11 May 2014 22:15:55 +0400 Subject: Provide od+sed replacement for the bin2char helper MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Using custom build-time tools is always more problematic, especially for cross-compiling. This alternative implementation assumes "od" (IEEE Std 1003.1-2001) and sed are available which should be the case for any reasonably modern system. Change-Id: I0208f475648c78e7dca127ff4bab60d314b2bf53 Signed-off-by: Paul Fertser Reviewed-on: http://openocd.zylin.com/2139 Tested-by: jenkins Reviewed-by: Fatih Aşıcı Reviewed-by: Andreas Fritiofson --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index d630bd6..b539ec4 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -91,7 +91,7 @@ BUILT_SOURCES = startup.tcl startup.tcl: $(STARTUP_TCL_SRCS) cat $^ > $@ -BIN2C = $(top_builddir)/src/helper/bin2char$(EXEEXT_FOR_BUILD) +BIN2C = $(top_srcdir)/src/helper/bin2char.sh # Convert .tcl to cfile startup_tcl.c: startup.tcl $(BIN2C) -- cgit v1.1