]> git.sur5r.net Git - openocd/blobdiff - src/jtag/drivers/Makefile.am
libusb-1.0 support
[openocd] / src / jtag / drivers / Makefile.am
index 408ea8100936434ccef060d7ef56c29aaf2607c3..1f239b7b0e2042abb675c750e5562e0b418d5a15 100644 (file)
@@ -20,6 +20,16 @@ if USB
 DRIVERFILES += usb_common.c
 endif
 
+if USE_LIBUSB1
+DRIVERFILES += libusb1_common.c
+else
+
+if USE_LIBUSB0
+DRIVERFILES += libusb0_common.c
+endif
+
+endif
+
 if BITBANG
 DRIVERFILES += bitbang.c
 endif