diff options
author | Paul Fertser <fercerpav@gmail.com> | 2014-05-11 22:15:55 +0400 |
---|---|---|
committer | Andreas Fritiofson <andreas.fritiofson@gmail.com> | 2014-08-02 09:00:28 +0000 |
commit | f1b04a20dcf6baedbd0f06a38d8748586d48dbb7 (patch) | |
tree | e1e55a4334058d337a7345c3709d1c6f52a2503d /src/Makefile.am | |
parent | e03eb89cfb7ee7a952bf8536ae1a4e7f2087d766 (diff) | |
download | riscv-openocd-f1b04a20dcf6baedbd0f06a38d8748586d48dbb7.zip riscv-openocd-f1b04a20dcf6baedbd0f06a38d8748586d48dbb7.tar.gz riscv-openocd-f1b04a20dcf6baedbd0f06a38d8748586d48dbb7.tar.bz2 |
Provide od+sed replacement for the bin2char helper
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 <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/2139
Tested-by: jenkins
Reviewed-by: Fatih Aşıcı <fatih.asici@gmail.com>
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
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) |