summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Thompson <daniel.thompson@linaro.org>2018-07-12 11:02:28 +0100
committerNico Huber <nico.h@gmx.de>2018-08-30 09:53:58 +0000
commit1d507a07a919f49e74aa05803bf37919ac95adb1 (patch)
tree24d460c41877990f4a6724c0e8b4513e2d679daa /Makefile
parentccfa8f9d9a68b1e4238d2dbbc4e9c8bcf9bae8a6 (diff)
downloadflashrom-1d507a07a919f49e74aa05803bf37919ac95adb1.tar.gz
flashrom-1d507a07a919f49e74aa05803bf37919ac95adb1.tar.bz2
flashrom-1d507a07a919f49e74aa05803bf37919ac95adb1.zip
usbdev: Extract libusb1 device discovery into a separate file
Currently there is a TODO-like comment in the dediprog driver: "Might be useful for other USB devices as well". Act on this comment by collecting all the device discovery code for libusb1 devices into a separate file. Change-Id: Idfcc79371241c2c1dea97faf5e532aa971546a79 Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org> Reviewed-on: https://review.coreboot.org/27443 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ddfd71169..b13cf7ec8 100644
--- a/Makefile
+++ b/Makefile
@@ -1023,6 +1023,7 @@ endif
ifneq ($(NEED_LIBUSB1), )
CHECK_LIBUSB1 = yes
FEATURE_CFLAGS += -D'NEED_LIBUSB1=1'
+PROGRAMMER_OBJS += usbdev.o
# FreeBSD and DragonflyBSD use a reimplementation of libusb-1.0 that is simply called libusb
ifeq ($(TARGET_OS),$(filter $(TARGET_OS),FreeBSD DragonFlyBSD))
USB1LIBS += -lusb