openocd/src
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
..
flash update files to correct FSF address 2013-06-05 19:52:42 +00:00
helper libusb1_common, ftdi: clarify libusb_open error message 2013-06-12 14:40:16 +00:00
jtag configure: remove --enable-libusb0 option, rework libusb selection 2013-06-12 14:40:29 +00:00
pld update files to correct FSF address 2013-06-05 19:52:42 +00:00
rtos update files to correct FSF address 2013-06-05 19:52:42 +00:00
server update files to correct FSF address 2013-06-05 19:52:42 +00:00
svf update files to correct FSF address 2013-06-05 19:52:42 +00:00
target update files to correct FSF address 2013-06-05 19:52:42 +00:00
transport update files to correct FSF address 2013-06-05 19:52:42 +00:00
xsvf update files to correct FSF address 2013-06-05 19:52:42 +00:00
hello.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
hello.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
main.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
Makefile.am drivers/jtag: rewrite usb_blaster driver 2013-06-04 20:00:42 +00:00
openocd.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
openocd.h update files to correct FSF address 2013-06-05 19:52:42 +00:00