aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2009-11-22 13:24:45 +0100
committerØyvind Harboe <oyvind.harboe@zylin.com>2009-11-22 13:35:13 +0100
commitd1fbcc35899f6071d097b8dfb76ab3125c3c4fac (patch)
treef866f48b3b88dde1a0d60546b000b595dae69bb7 /src/Makefile.am
parentdd9894f481d127266c201d7075ecbdd34b034124 (diff)
downloadriscv-openocd-d1fbcc35899f6071d097b8dfb76ab3125c3c4fac.zip
riscv-openocd-d1fbcc35899f6071d097b8dfb76ab3125c3c4fac.tar.gz
riscv-openocd-d1fbcc35899f6071d097b8dfb76ab3125c3c4fac.tar.bz2
build: fix breakage in building bin2char
bin2char build relied on $(builddir) which is not defined for arm-elf X builds at least. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 8f96b05..913118f 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -112,7 +112,7 @@ 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)