From e8d1da15c2b82bdd059da2c9660a4339d01b01ad Mon Sep 17 00:00:00 2001 From: Mauro Gamba Date: Mon, 21 Nov 2011 17:57:22 +0100 Subject: jlink libusb-1.0 driver. jlink modified to use the new usb abstaction layer. During the configuration process we can select if use libusb0 or libusb-1.0 library for this driver. Change-Id: I70bc9ee2f89b7597e0f64ea80cad7f1b9070f01b Signed-off-by: Mauro Gamba Reviewed-on: http://openocd.zylin.com/236 Tested-by: jenkins Reviewed-by: Xiaofan Reviewed-by: Spencer Oliver --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index f061170..22d6193 100644 --- a/configure.ac +++ b/configure.ac @@ -1056,7 +1056,7 @@ fi # check for usb.h when a driver will require it build_usb=no -if test $build_jlink = yes -o $build_vsllink = yes -o $build_usbprog = yes -o \ +if test $build_vsllink = yes -o $build_usbprog = yes -o \ $build_rlink = yes -o $build_ulink = yes -o $build_armjtagew = yes then build_usb=yes @@ -1064,6 +1064,9 @@ fi # Check for libusb1 ported drivers. build_usb_ng=no +if test $build_jlink = yes; then + build_usb_ng=yes +fi # check for libusb library if necessary use_libusb0=no -- cgit v1.1