Message ID | 20200812094135.20550-8-cesar.belley@lse.epita.fr |
---|---|
State | New |
Headers | show |
Series | None | expand |
diff --git a/hw/usb/Kconfig b/hw/usb/Kconfig index 5e63dc75f8..3fc8fbe3c7 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 e342ff59fa..7842a3175f 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
Signed-off-by: César Belley <cesar.belley@lse.epita.fr> --- hw/usb/Kconfig | 5 +++++ hw/usb/Makefile.objs | 7 +++++++ 2 files changed, 12 insertions(+)