]> git.sur5r.net Git - openocd/commitdiff
Include ULINK driver in src/jtag/drivers/Makefile.am
authorMartin Schmölzer <martin.schmoelzer@student.tuwien.ac.at>
Mon, 20 Jun 2011 17:51:16 +0000 (19:51 +0200)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Sun, 26 Jun 2011 15:43:51 +0000 (17:43 +0200)
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.

src/jtag/drivers/Makefile.am

index f3d5ab0524d8a0860f821bb748ca8b6c3cadd287..1e523581dc772de89dfa272cb89b558d21bf7b0e 100644 (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