b03f560b3ba57dabbe60086dadb300cc54c3a745
[openocd.git] / src / jtag / drivers / Makefile.am
1 noinst_LTLIBRARIES += %D%/libocdjtagdrivers.la
2 %C%_libocdjtagdrivers_la_LIBADD =
3
4 %C%_libocdjtagdrivers_la_SOURCES = \
5 $(DRIVERFILES) \
6 $(DRIVERHEADERS)
7
8 %C%_libocdjtagdrivers_la_CPPFLAGS = $(AM_CPPFLAGS)
9
10 ULINK_FIRMWARE = %D%/OpenULINK
11
12 EXTRA_DIST += $(ULINK_FIRMWARE) \
13 %D%/usb_blaster/README.CheapClone \
14 %D%/Makefile.rlink \
15 %D%/rlink_call.m4 \
16 %D%/rlink_init.m4
17
18 DRIVERFILES =
19
20 # Standard Driver: common files
21 DRIVERFILES += %D%/driver.c
22 DRIVERFILES += %D%/jtag_usb_common.c
23
24 if USE_LIBUSB1
25 DRIVERFILES += %D%/libusb_helper.c
26 %C%_libocdjtagdrivers_la_CPPFLAGS += $(LIBUSB1_CFLAGS)
27 %C%_libocdjtagdrivers_la_LIBADD += $(LIBUSB1_LIBS)
28 endif
29
30 if USE_LIBUSB0
31 DRIVERFILES += %D%/usb_common.c
32 %C%_libocdjtagdrivers_la_CPPFLAGS += $(LIBUSB0_CFLAGS)
33 %C%_libocdjtagdrivers_la_LIBADD += $(LIBUSB0_LIBS)
34 endif
35
36 if USE_LIBFTDI
37 %C%_libocdjtagdrivers_la_CPPFLAGS += $(LIBFTDI_CFLAGS)
38 %C%_libocdjtagdrivers_la_LIBADD += $(LIBFTDI_LIBS)
39 endif
40
41 if USE_HIDAPI
42 %C%_libocdjtagdrivers_la_CPPFLAGS += $(HIDAPI_CFLAGS)
43 %C%_libocdjtagdrivers_la_LIBADD += $(HIDAPI_LIBS)
44 endif
45
46 if USE_LIBJAYLINK
47 %C%_libocdjtagdrivers_la_CPPFLAGS += $(LIBJAYLINK_CFLAGS)
48 %C%_libocdjtagdrivers_la_LIBADD += $(LIBJAYLINK_LIBS)
49 endif
50
51 if JLINK
52 DRIVERFILES += %D%/jlink.c
53 if INTERNAL_LIBJAYLINK
54 SUBDIRS += %D%/libjaylink
55 DIST_SUBDIRS += %D%/libjaylink
56
57 %C%_libocdjtagdrivers_la_LIBADD += %D%/libjaylink/libjaylink/libjaylink.la
58 %C%_libocdjtagdrivers_la_CPPFLAGS += -I$(builddir)/%D%/libjaylink/libjaylink -I$(srcdir)/%D%/libjaylink
59 endif
60 endif
61
62 if BITBANG
63 DRIVERFILES += %D%/bitbang.c
64 endif
65 if PARPORT
66 DRIVERFILES += %D%/parport.c
67 endif
68 if DUMMY
69 DRIVERFILES += %D%/dummy.c
70 endif
71 if FTDI
72 DRIVERFILES += %D%/ftdi.c %D%/mpsse.c
73 endif
74 if JTAG_VPI
75 DRIVERFILES += %D%/jtag_vpi.c
76 endif
77 if USB_BLASTER_DRIVER
78 %C%_libocdjtagdrivers_la_LIBADD += %D%/usb_blaster/libocdusbblaster.la
79 include %D%/usb_blaster/Makefile.am
80 endif
81 if FT232R
82 DRIVERFILES += %D%/ft232r.c
83 endif
84 if AMTJTAGACCEL
85 DRIVERFILES += %D%/amt_jtagaccel.c
86 endif
87 if EP93XX
88 DRIVERFILES += %D%/ep93xx.c
89 endif
90 if AT91RM9200
91 DRIVERFILES += %D%/at91rm9200.c
92 endif
93 if GW16012
94 DRIVERFILES += %D%/gw16012.c
95 endif
96 if BITQ
97 DRIVERFILES += %D%/bitq.c
98 endif
99 if PRESTO
100 DRIVERFILES += %D%/presto.c
101 endif
102 if USBPROG
103 DRIVERFILES += %D%/usbprog.c
104 endif
105 if RLINK
106 DRIVERFILES += %D%/rlink.c %D%/rlink_speed_table.c
107 endif
108 if ULINK
109 DRIVERFILES += %D%/ulink.c
110 ulinkdir = $(pkgdatadir)/OpenULINK
111 dist_ulink_DATA = $(ULINK_FIRMWARE)/ulink_firmware.hex
112 %C%_libocdjtagdrivers_la_LIBADD += -lm
113 endif
114 if VSLLINK
115 DRIVERFILES += %D%/versaloon/usbtoxxx/usbtogpio.c
116 DRIVERFILES += %D%/versaloon/usbtoxxx/usbtojtagraw.c
117 DRIVERFILES += %D%/versaloon/usbtoxxx/usbtoswd.c
118 DRIVERFILES += %D%/versaloon/usbtoxxx/usbtopwr.c
119 DRIVERFILES += %D%/versaloon/usbtoxxx/usbtoxxx.c
120 DRIVERFILES += %D%/versaloon/versaloon.c
121 DRIVERFILES += %D%/vsllink.c
122 endif
123 if ARMJTAGEW
124 DRIVERFILES += %D%/arm-jtag-ew.c
125 endif
126 if BUSPIRATE
127 DRIVERFILES += %D%/buspirate.c
128 endif
129 if REMOTE_BITBANG
130 DRIVERFILES += %D%/remote_bitbang.c
131 endif
132 if HLADAPTER_STLINK
133 DRIVERFILES += %D%/stlink_usb.c
134 endif
135 if HLADAPTER_ICDI
136 DRIVERFILES += %D%/ti_icdi_usb.c
137 endif
138 if RSHIM
139 DRIVERFILES += %D%/rshim.c
140 endif
141 if OSBDM
142 DRIVERFILES += %D%/osbdm.c
143 endif
144 if OPENDOUS
145 DRIVERFILES += %D%/opendous.c
146 endif
147 if SYSFSGPIO
148 DRIVERFILES += %D%/sysfsgpio.c
149 endif
150 if XLNX_PCIE_XVC
151 DRIVERFILES += %D%/xlnx-pcie-xvc.c
152 endif
153 if BCM2835GPIO
154 DRIVERFILES += %D%/bcm2835gpio.c
155 endif
156 if OPENJTAG
157 DRIVERFILES += %D%/openjtag.c
158 endif
159 if CMSIS_DAP
160 DRIVERFILES += %D%/cmsis_dap_usb.c
161 endif
162 if IMX_GPIO
163 DRIVERFILES += %D%/imx_gpio.c
164 endif
165 if KITPROG
166 DRIVERFILES += %D%/kitprog.c
167 endif
168 if XDS110
169 DRIVERFILES += %D%/xds110.c
170 endif
171
172 DRIVERHEADERS = \
173 %D%/bitbang.h \
174 %D%/bitq.h \
175 %D%/jtag_usb_common.h \
176 %D%/libusb_helper.h \
177 %D%/minidriver_imp.h \
178 %D%/mpsse.h \
179 %D%/rlink.h \
180 %D%/rlink_dtc_cmd.h \
181 %D%/rlink_ep1_cmd.h \
182 %D%/rlink_st7.h \
183 %D%/usb_common.h \
184 %D%/versaloon/usbtoxxx/usbtoxxx.h \
185 %D%/versaloon/usbtoxxx/usbtoxxx_internal.h \
186 %D%/versaloon/versaloon.h \
187 %D%/versaloon/versaloon_include.h \
188 %D%/versaloon/versaloon_internal.h

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)