From: Martin Schmölzer Date: Mon, 20 Jun 2011 17:51:16 +0000 (+0200) Subject: Include ULINK driver in src/jtag/drivers/Makefile.am X-Git-Tag: v0.5.0-rc1~6 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5141ab3e691b63e080e3620d82e0e3a1953fb968;p=openocd 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. --- diff --git a/src/jtag/drivers/Makefile.am b/src/jtag/drivers/Makefile.am index f3d5ab05..1e523581 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