diff options
author | Pali Rohár <pali.rohar@gmail.com> | 2016-12-06 22:39:44 +0100 |
---|---|---|
committer | Pali Rohár <pali.rohar@gmail.com> | 2016-12-06 22:39:44 +0100 |
commit | 676da477510cb1966a74273f89c8aa64654a1d49 (patch) | |
tree | 6b494e6129e9908f5e7ad33290f92f257560dd2d /src/Makefile | |
parent | ea7f2a441a68bc4496733a2fcabc6bf8d2962d04 (diff) | |
download | 0xFFFF-676da477510cb1966a74273f89c8aa64654a1d49.tar.bz2 |
all: Revert libusb-1.0 support
Listing of usb devices with libusb-1.0 is too slow and not usable for
flashing or cold-flashing Nokia N900.
Old libusb (0.1) does not have this problem and works perfectly.
Problem for libusb-1.0 was reported at least two times into libusb-devel
mailing list, but upstream developers are totally ignore it. One message is
in archive: https://sourceforge.net/p/libusb/mailman/message/34985373/
Because of that there is just one option: use tested and working libusb 0.1
library instead some experimental and non-working libusb-1.0.
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile index 6682436..6b8ef08 100644 --- a/src/Makefile +++ b/src/Makefile @@ -11,7 +11,7 @@ HOST_CC = $(HOST_COMPILE)$(CC) CPPFLAGS += -DVERSION=\"$(VERSION)\" -DBUILD_DATE="\"$(BUILD_DATE)\"" -D_GNU_SOURCE -D_POSIX_C_SOURCE=200809L CFLAGS += -W -Wall -O2 -pedantic -std=c99 -LIBS += -lusb-1.0 +LIBS += -lusb DEPENDS = Makefile ../config.mk |