aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>2011-06-20 19:51:16 +0200
committerØyvind Harboe <oyvind.harboe@zylin.com>2011-06-26 17:43:51 +0200
commit5141ab3e691b63e080e3620d82e0e3a1953fb968 (patch)
treefd485a6a0b218b7448e098db2f3ed2ee02d8a4b7 /src
parent29f6f6ae5f5cd83cb1cdff04a98bd6232e87a36b (diff)
downloadriscv-openocd-5141ab3e691b63e080e3620d82e0e3a1953fb968.zip
riscv-openocd-5141ab3e691b63e080e3620d82e0e3a1953fb968.tar.gz
riscv-openocd-5141ab3e691b63e080e3620d82e0e3a1953fb968.tar.bz2
Include ULINK driver in src/jtag/drivers/Makefile.am
A new variable "nobase_dist_pkglib_DATA" is introduced to install the OpenULINK firmware image to $PREFIX/lib/openocd/OpenULINK/ulink_firmware.hex Also, the variable "EXTRA_DIST" is used to include the OpenULINK firmware source in the OpenOCD source distribution.
Diffstat (limited to 'src')
-rw-r--r--src/jtag/drivers/Makefile.am10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/jtag/drivers/Makefile.am b/src/jtag/drivers/Makefile.am
index f3d5ab0..1e52358 100644
--- a/src/jtag/drivers/Makefile.am
+++ b/src/jtag/drivers/Makefile.am
@@ -5,6 +5,12 @@ noinst_LTLIBRARIES = libocdjtagdrivers.la
libocdjtagdrivers_la_SOURCES = \
$(DRIVERFILES)
+nobase_dist_pkglib_DATA =
+
+ULINK_FIRMWARE = $(srcdir)/OpenULINK
+
+EXTRA_DIST = $(ULINK_FIRMWARE)
+
DRIVERFILES =
# Standard Driver: common files
@@ -56,6 +62,10 @@ endif
if RLINK
DRIVERFILES += rlink.c rlink_speed_table.c
endif
+if ULINK
+DRIVERFILES += ulink.c
+nobase_dist_pkglib_DATA += $(ULINK_FIRMWARE)/ulink_firmware.hex
+endif
if VSLLINK
DRIVERFILES += vsllink.c
endif