mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 22:21:16 +02:00
raiden_debug: Upstream ChromiumOS usb_device helpers
These are helpful usb device accessors and helpers that are later used for the so-called Raiden debugger programmer. BUG=b:143389556 BRANCH=none TEST=builds Change-Id: Ic928220fc919fe4958c8150e61e11470dac88f13 Signed-off-by: Edward O'Callaghan <quasisec@google.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/38936 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:

committed by
Edward O'Callaghan

parent
0f510a7458
commit
d3396408d8
2
Makefile
2
Makefile
@ -1088,7 +1088,7 @@ endif
|
||||
ifneq ($(NEED_LIBUSB1), )
|
||||
CHECK_LIBUSB1 = yes
|
||||
FEATURE_CFLAGS += -D'NEED_LIBUSB1=1'
|
||||
PROGRAMMER_OBJS += usbdev.o
|
||||
PROGRAMMER_OBJS += usbdev.o usb_device.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
|
||||
|
Reference in New Issue
Block a user