From: Øyvind Harboe Date: Sun, 22 Nov 2009 12:24:45 +0000 (+0100) Subject: build: fix breakage in building bin2char X-Git-Tag: v0.4.0-rc1~460 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d1fbcc35899f6071d097b8dfb76ab3125c3c4fac;p=openocd 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 --- diff --git a/src/Makefile.am b/src/Makefile.am index 8f96b053..913118f2 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)