summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/target/Makefile.am7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/target/Makefile.am b/src/target/Makefile.am
index ea1641ef..bdef58c2 100644
--- a/src/target/Makefile.am
+++ b/src/target/Makefile.am
@@ -10,10 +10,11 @@ AM_CPPFLAGS = \
-I$(top_srcdir)/src/jtag \
-I$(top_srcdir)/src/xsvf
-BIN2C = $(top_srcdir)/src/helper/bin2char$(EXEEXT_FOR_BUILD)
+BIN2C = $(top_builddir)/src/helper/bin2char$(EXEEXT_FOR_BUILD)
+DEBUG_HANDLER = $(top_srcdir)/src/target/xscale/debug_handler.bin
-xscale_debug.h: $(BIN2C) xscale/debug_handler.bin
- $(BIN2C) < xscale/debug_handler.bin xscale_debug_handler > xscale_debug.h
+xscale_debug.h: $(BIN2C) $(DEBUG_HANDLER)
+ $(BIN2C) < $(DEBUG_HANDLER) xscale_debug_handler > xscale_debug.h
METASOURCES = AUTO
noinst_LTLIBRARIES = libtarget.la