openocd/src/jtag
Paul Fertser 191a5736c2 libusb: require pkg-config support
An alternative approach to show how much cleaner the pure pkg-config
way is.

This changes the discovery procedures for libusb-1.0 and libusb-0.1,
making them depend on pkg-config being properly installed and
configured, including the necessary build host configuration for the
cross-builds (see
http://www.flameeyes.eu/autotools-mythbuster/pkgconfig/cross-compiling.html)

It should make it possible to compile OpenOCD without changes and
extra effort on GNU/Linux, FreeBSD users would need to supply a .pc
file for their libusb implementation or add LIBUSB1_LIBS and
LIBUSB1_CFLAGS to the configure environment.

Change-Id: I826e378dd1e0d101a549a573b2c63212a7e00b64
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/1467
Reviewed-by: Xiaofan <xiaofanc@gmail.com>
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Tested-by: Spencer Oliver <spen@spen-soft.co.uk>
2013-09-13 21:43:18 +00:00
..
aice libusb: require pkg-config support 2013-09-13 21:43:18 +00:00
drivers libusb: require pkg-config support 2013-09-13 21:43:18 +00:00
hla stlink: add SWO tracing support 2013-08-07 21:02:28 +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 Allow autoscan up to 64 bit IR lengths 2013-07-01 08:37:27 +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 jtag: drivers: Add JTAP VPI client driver 2013-09-08 15:37:51 +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 Add support for 64 bit parameter to irscan 2013-07-01 08:37:14 +00:00
tcl.h update files to correct FSF address 2013-06-05 19:52:42 +00:00