diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-12-02 22:32:08 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-12-02 22:32:08 -0800 |
commit | b123fd3cd9a11b2dfb79025fb137696135f5f898 (patch) | |
tree | 6b72a97b5ad69ea6df06806722039dfcb041ddaf | |
parent | f4a1070dcf6b303cb980d89c5b342cf52b0397c4 (diff) |
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.
-rw-r--r-- | configure.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 9cb2b0f5..dbddcb2b 100644 --- a/configure.in +++ b/configure.in @@ -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 |