diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2009-10-17 12:14:19 -0700 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2009-10-17 12:14:19 -0700 |
commit | 05d6716936d4c8cea80443b1aaaa14a80e97cfc4 (patch) | |
tree | 0748cce12784716612f38db55ab284502898072f /src/target/Makefile.am | |
parent | cb7965da154793430d935f4965d7360198b711ba (diff) | |
download | riscv-openocd-05d6716936d4c8cea80443b1aaaa14a80e97cfc4.zip riscv-openocd-05d6716936d4c8cea80443b1aaaa14a80e97cfc4.tar.gz riscv-openocd-05d6716936d4c8cea80443b1aaaa14a80e97cfc4.tar.bz2 |
build tweak for bin2char
Work better when building outside the source tree.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/Makefile.am')
-rw-r--r-- | src/target/Makefile.am | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/target/Makefile.am b/src/target/Makefile.am index ea1641e..bdef58c 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 |