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.
__archive__
Martin Schmölzer 2011-06-20 19:51:16 +02:00 committed by Øyvind Harboe
parent 29f6f6ae5f
commit 5141ab3e69
1 changed files with 10 additions and 0 deletions

View File

@ -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