projects
/
fw
/
openocd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4a1070
)
fix configure problem when building w/o USB
author
Zachary T Welch
<zw@superlucidity.net>
Thu, 3 Dec 2009 06:32:08 +0000
(22:32 -0800)
committer
Zachary T Welch
<zw@superlucidity.net>
Thu, 3 Dec 2009 06:32:08 +0000
(22:32 -0800)
If building OpenOCD without any USB drivers, a warning would appear
because $build_usb is never set to a sane default. This fixes it.
configure.in
patch
|
blob
|
history
diff --git
a/configure.in
b/configure.in
index 9cb2b0f5aef13d7c9d64d76b28ec6395c2217a2b..dbddcb2bd6cdc074f274e709d4efa923ed6e9d1a 100644
(file)
--- 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