Skip to content
Snippets Groups Projects
Commit 5141ab3e authored by Martin Schmölzer's avatar Martin Schmölzer Committed by Øyvind Harboe
Browse files

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.
parent 29f6f6ae
Branches
Tags
No related merge requests found
...@@ -5,6 +5,12 @@ noinst_LTLIBRARIES = libocdjtagdrivers.la ...@@ -5,6 +5,12 @@ noinst_LTLIBRARIES = libocdjtagdrivers.la
libocdjtagdrivers_la_SOURCES = \ libocdjtagdrivers_la_SOURCES = \
$(DRIVERFILES) $(DRIVERFILES)
nobase_dist_pkglib_DATA =
ULINK_FIRMWARE = $(srcdir)/OpenULINK
EXTRA_DIST = $(ULINK_FIRMWARE)
DRIVERFILES = DRIVERFILES =
# Standard Driver: common files # Standard Driver: common files
...@@ -56,6 +62,10 @@ endif ...@@ -56,6 +62,10 @@ endif
if RLINK if RLINK
DRIVERFILES += rlink.c rlink_speed_table.c DRIVERFILES += rlink.c rlink_speed_table.c
endif endif
if ULINK
DRIVERFILES += ulink.c
nobase_dist_pkglib_DATA += $(ULINK_FIRMWARE)/ulink_firmware.hex
endif
if VSLLINK if VSLLINK
DRIVERFILES += vsllink.c DRIVERFILES += vsllink.c
endif endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment