tinyriscv-openocd/src/jtag
Paul Fertser 6be2a55bde configure: remove --enable-libusb0 option, rework libusb selection
This makes libusb handling more consistent: if any driver requires
libusb, first check for libusb-1 availability, if not found and
libusb0 is ok for this case, try libusb0.

A user-visible bug fixed by this is that when a user was selecting a
driver that required libusb-1 but was lacking the necessary dev files
or libraries, configure didn't complain (but the build was failing of
course).

--enable-stlink doesn't really require libusb-1 but since it's using the
same automake symbol HLAADAPTER, ti_icdi is getting built too which needs
libusb1 unconditionally. Since using libusb-0.1 makes little sense anyway,
leave that as is.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Change-Id: I630a4ad9e4583743d45b2233bf5d8f4e5c0aab82
Reviewed-on: http://openocd.zylin.com/1434
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2013-06-12 14:40:29 +00:00
..
aice aice: add Andes AICE support 2013-06-05 19:27:23 +00:00
drivers configure: remove --enable-libusb0 option, rework libusb selection 2013-06-12 14:40:29 +00:00
hla update files to correct FSF address 2013-06-05 19:52:42 +00:00
minidriver update files to correct FSF address 2013-06-05 19:52:42 +00:00
minidummy update files to correct FSF address 2013-06-05 19:52:42 +00:00
zy1000 update files to correct FSF address 2013-06-05 19:52:42 +00:00
Makefile.am aice: add Andes AICE support 2013-06-05 19:27:23 +00:00
adapter.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
commands.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
commands.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
core.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
driver.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
interface.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
interface.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
interfaces.c Add BCM2835 (as found in Raspberry Pi) interface driver 2013-06-10 09:39:48 +00:00
interfaces.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
jtag.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
minidriver.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
startup.tcl stlink: rename stlink cmd names 2012-12-23 21:45:42 +00:00
swd.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
tcl.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
tcl.h update files to correct FSF address 2013-06-05 19:52:42 +00:00