From dd6274deed65c47ba2ef46e14259167d393399d8 Mon Sep 17 00:00:00 2001 From: Paul Fertser Date: Wed, 11 Sep 2013 23:25:19 +0200 Subject: configure: auto-enable USB adapters based on libusb availability This unifies the way the USB adapters are handled, and enables them automatically whenever possible (until explicitly disabled). If an adapter is explicitly enabled but can't be built, abort the configure. Also add infrastructure for generic handling of adapter drivers in configure and print a summary of the configuration results after finishing. The m4 quoting is as conservative as I could get it, and seems appropriate. Change-Id: I1655691e5ea0d8eb9e3f67830b96992ffe33640a Signed-off-by: Paul Fertser Signed-off-by: Andreas Fritiofson Reviewed-on: http://openocd.zylin.com/1475 Reviewed-by: Xiaofan Reviewed-by: Spencer Oliver Tested-by: Spencer Oliver --- src/jtag/drivers/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/jtag/drivers/Makefile.am') diff --git a/src/jtag/drivers/Makefile.am b/src/jtag/drivers/Makefile.am index e8f1efbc..00f0165e 100644 --- a/src/jtag/drivers/Makefile.am +++ b/src/jtag/drivers/Makefile.am @@ -41,7 +41,7 @@ endif if FT2232_DRIVER DRIVERFILES += ft2232.c endif -if FTDI_DRIVER +if FTDI DRIVERFILES += ftdi.c mpsse.c endif if JTAG_VPI -- cgit v1.2.3-18-g5258