[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 11/17] hw/usb: Add U2F key build recipe
From: |
Gerd Hoffmann |
Subject: |
[PULL 11/17] hw/usb: Add U2F key build recipe |
Date: |
Wed, 19 Aug 2020 07:46:38 +0200 |
From: César Belley <cesar.belley@lse.epita.fr>
Signed-off-by: César Belley <cesar.belley@lse.epita.fr>
Message-id: 20200812094135.20550-8-cesar.belley@lse.epita.fr
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
hw/usb/Kconfig | 5 +++++
hw/usb/Makefile.objs | 7 +++++++
2 files changed, 12 insertions(+)
diff --git a/hw/usb/Kconfig b/hw/usb/Kconfig
index 5e63dc75f815..3fc8fbe3c74c 100644
--- a/hw/usb/Kconfig
+++ b/hw/usb/Kconfig
@@ -96,6 +96,11 @@ config USB_STORAGE_MTP
default y
depends on USB
+config USB_U2F
+ bool
+ default y
+ depends on USB
+
config IMX_USBPHY
bool
default y
diff --git a/hw/usb/Makefile.objs b/hw/usb/Makefile.objs
index e342ff59fab0..7842a3175f8f 100644
--- a/hw/usb/Makefile.objs
+++ b/hw/usb/Makefile.objs
@@ -37,6 +37,13 @@ smartcard.mo-libs := $(SMARTCARD_LIBS)
endif
endif
+ifeq ($(CONFIG_USB_U2F),y)
+common-obj-y += u2f.o u2f-passthru.o
+common-obj-$(CONFIG_U2F) += u2f-emulated.o
+u2f-emulated.o-cflags = $(U2F_CFLAGS)
+u2f-emulated.o-libs = $(U2F_LIBS)
+endif
+
ifeq ($(CONFIG_POSIX),y)
common-obj-$(CONFIG_USB_STORAGE_MTP) += dev-mtp.o
endif
--
2.18.4
- [PULL 01/17] hw: xhci: check return value of 'usb_packet_map', (continued)
- [PULL 01/17] hw: xhci: check return value of 'usb_packet_map', Gerd Hoffmann, 2020/08/19
- [PULL 15/17] scripts: Add u2f-setup-gen script, Gerd Hoffmann, 2020/08/19
- [PULL 14/17] docs/qdev-device-use.txt: Add USB U2F key to the QDEV devices examples, Gerd Hoffmann, 2020/08/19
- [PULL 04/17] ehci: drop pointless warn_report for guest bugs., Gerd Hoffmann, 2020/08/19
- [PULL 05/17] hw/usb: Regroup USB HID protocol values, Gerd Hoffmann, 2020/08/19
- [PULL 17/17] hw/usb: Add U2F device autoscan to passthru mode, Gerd Hoffmann, 2020/08/19
- [PULL 07/17] hw/usb: Add U2F key base class, Gerd Hoffmann, 2020/08/19
- [PULL 06/17] docs: Add USB U2F key device documentation, Gerd Hoffmann, 2020/08/19
- [PULL 16/17] hw/usb: Add U2F device check to passthru mode, Gerd Hoffmann, 2020/08/19
- [PULL 12/17] configure: Add USB U2F key device, Gerd Hoffmann, 2020/08/19
- [PULL 11/17] hw/usb: Add U2F key build recipe,
Gerd Hoffmann <=
- [PULL 10/17] hw/usb: Add U2F key emulated mode, Gerd Hoffmann, 2020/08/19
- [PULL 08/17] hw/usb: Add U2F key base class implementation, Gerd Hoffmann, 2020/08/19
- [PULL 09/17] hw/usb: Add U2F key passthru mode, Gerd Hoffmann, 2020/08/19
- Re: [PULL 00/17] Usb 20200819 patches, Peter Maydell, 2020/08/21