]> git.sur5r.net Git - openocd/commitdiff
build: fix breakage in building bin2char
authorØyvind Harboe <oyvind.harboe@zylin.com>
Sun, 22 Nov 2009 12:24:45 +0000 (13:24 +0100)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Sun, 22 Nov 2009 12:35:13 +0000 (13:35 +0100)
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>
src/Makefile.am

index 8f96b05380d3c9d40ff4f5b9e1c86c2a52eddf2f..913118f25cfa67c561d23b4a7a2dd967559442a0 100644 (file)
@@ -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)