fix configure problem when building w/o USB

If building OpenOCD without any USB drivers, a warning would appear
because $build_usb is never set to a sane default.  This fixes it.
__archive__
Zachary T Welch 2009-12-02 22:32:08 -08:00
parent f4a1070dcf
commit b123fd3cd9
1 changed files with 1 additions and 0 deletions

View File

@ -979,6 +979,7 @@ enum ftdi_chip_type x = TYPE_2232H;
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 \
$build_rlink = yes -o $build_armjtagew = yes
then