3e5974da48d35de60ca69ee2e3fa3a51c61f5e8d
[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
23 if USE_LIBUSB1
24 DRIVERFILES += %D%/libusb1_common.c
25 %C%_libocdjtagdrivers_la_CPPFLAGS += $(LIBUSB1_CFLAGS)
26 %C%_libocdjtagdrivers_la_LIBADD += $(LIBUSB1_LIBS)
27 endif
28
29 if USE_LIBUSB0
30 DRIVERFILES += %D%/usb_common.c
31 %C%_libocdjtagdrivers_la_CPPFLAGS += $(LIBUSB0_CFLAGS)
32 %C%_libocdjtagdrivers_la_LIBADD += $(LIBUSB0_LIBS)
33 if !USE_LIBUSB1
34 DRIVERFILES += %D%/libusb0_common.c
35 endif
36 endif
37
38 if USE_LIBFTDI
39 %C%_libocdjtagdrivers_la_CPPFLAGS += $(LIBFTDI_CFLAGS)
40 %C%_libocdjtagdrivers_la_LIBADD += $(LIBFTDI_LIBS)
41 endif
42
43 if USE_HIDAPI
44 %C%_libocdjtagdrivers_la_CPPFLAGS += $(HIDAPI_CFLAGS)
45 %C%_libocdjtagdrivers_la_LIBADD += $(HIDAPI_LIBS)
46 endif
47
48 if USE_LIBJAYLINK
49 %C%_libocdjtagdrivers_la_CPPFLAGS += $(LIBJAYLINK_CFLAGS)
50 %C%_libocdjtagdrivers_la_LIBADD += $(LIBJAYLINK_LIBS)
51 endif
52
53 if JLINK
54 DRIVERFILES += %D%/jlink.c
55 if INTERNAL_LIBJAYLINK
56 SUBDIRS += %D%/libjaylink
57 DIST_SUBDIRS += %D%/libjaylink
58
59 %C%_libocdjtagdrivers_la_LIBADD += %D%/libjaylink/libjaylink/libjaylink.la
60 %C%_libocdjtagdrivers_la_CPPFLAGS += -I$(builddir)/%D%/libjaylink/libjaylink -I$(srcdir)/%D%/libjaylink
61 endif
62 endif
63
64 if BITBANG
65 DRIVERFILES += %D%/bitbang.c
66 endif
67 if PARPORT
68 DRIVERFILES += %D%/parport.c
69 endif
70 if DUMMY
71 DRIVERFILES += %D%/dummy.c
72 endif
73 if FTDI
74 DRIVERFILES += %D%/ftdi.c %D%/mpsse.c
75 endif
76 if JTAG_VPI
77 DRIVERFILES += %D%/jtag_vpi.c
78 endif
79 if USB_BLASTER_DRIVER
80 %C%_libocdjtagdrivers_la_LIBADD += %D%/usb_blaster/libocdusbblaster.la
81 include %D%/usb_blaster/Makefile.am
82 endif
83 if AMTJTAGACCEL
84 DRIVERFILES += %D%/amt_jtagaccel.c
85 endif
86 if EP93XX
87 DRIVERFILES += %D%/ep93xx.c
88 endif
89 if AT91RM9200
90 DRIVERFILES += %D%/at91rm9200.c
91 endif
92 if GW16012
93 DRIVERFILES += %D%/gw16012.c
94 endif
95 if BITQ
96 DRIVERFILES += %D%/bitq.c
97 endif
98 if PRESTO
99 DRIVERFILES += %D%/presto.c
100 endif
101 if USBPROG
102 DRIVERFILES += %D%/usbprog.c
103 endif
104 if RLINK
105 DRIVERFILES += %D%/rlink.c %D%/rlink_speed_table.c
106 endif
107 if ULINK
108 DRIVERFILES += %D%/ulink.c
109 ulinkdir = $(pkgdatadir)/OpenULINK
110 dist_ulink_DATA = $(ULINK_FIRMWARE)/ulink_firmware.hex
111 %C%_libocdjtagdrivers_la_LIBADD += -lm
112 endif
113 if VSLLINK
114 DRIVERFILES += %D%/versaloon/usbtoxxx/usbtogpio.c
115 DRIVERFILES += %D%/versaloon/usbtoxxx/usbtojtagraw.c
116 DRIVERFILES += %D%/versaloon/usbtoxxx/usbtoswd.c
117 DRIVERFILES += %D%/versaloon/usbtoxxx/usbtopwr.c
118 DRIVERFILES += %D%/versaloon/usbtoxxx/usbtoxxx.c
119 DRIVERFILES += %D%/versaloon/versaloon.c
120 DRIVERFILES += %D%/vsllink.c
121 endif
122 if ARMJTAGEW
123 DRIVERFILES += %D%/arm-jtag-ew.c
124 endif
125 if BUSPIRATE
126 DRIVERFILES += %D%/buspirate.c
127 endif
128 if REMOTE_BITBANG
129 DRIVERFILES += %D%/remote_bitbang.c
130 endif
131 if HLADAPTER
132 DRIVERFILES += %D%/stlink_usb.c
133 DRIVERFILES += %D%/ti_icdi_usb.c
134 endif
135 if OSBDM
136 DRIVERFILES += %D%/osbdm.c
137 endif
138 if OPENDOUS
139 DRIVERFILES += %D%/opendous.c
140 endif
141 if SYSFSGPIO
142 DRIVERFILES += %D%/sysfsgpio.c
143 endif
144 if BCM2835GPIO
145 DRIVERFILES += %D%/bcm2835gpio.c
146 endif
147 if OPENJTAG
148 DRIVERFILES += %D%/openjtag.c
149 endif
150 if CMSIS_DAP
151 DRIVERFILES += %D%/cmsis_dap_usb.c
152 endif
153 if IMX_GPIO
154 DRIVERFILES += %D%/imx_gpio.c
155 endif
156
157 if KITPROG
158 DRIVERFILES += %D%/kitprog.c
159 endif
160
161 DRIVERHEADERS = \
162 %D%/bitbang.h \
163 %D%/bitq.h \
164 %D%/libusb0_common.h \
165 %D%/libusb1_common.h \
166 %D%/libusb_common.h \
167 %D%/minidriver_imp.h \
168 %D%/mpsse.h \
169 %D%/rlink.h \
170 %D%/rlink_dtc_cmd.h \
171 %D%/rlink_ep1_cmd.h \
172 %D%/rlink_st7.h \
173 %D%/usb_common.h \
174 %D%/versaloon/usbtoxxx/usbtoxxx.h \
175 %D%/versaloon/usbtoxxx/usbtoxxx_internal.h \
176 %D%/versaloon/versaloon.h \
177 %D%/versaloon/versaloon_include.h \
178 %D%/versaloon/versaloon_internal.h
179

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)