mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
meson: Add U2F key to meson
Signed-off-by: César Belley <cesar.belley@lse.epita.fr> Message-id: 20200826114209.28821-8-cesar.belley@lse.epita.fr [ fixes suggested by paolo ] Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
a983b1135f
commit
0a40bcb740
5 changed files with 27 additions and 1 deletions
|
@ -50,6 +50,13 @@ if config_host.has_key('CONFIG_SMARTCARD')
|
|||
hw_usb_modules += {'smartcard': usbsmartcard_ss}
|
||||
endif
|
||||
|
||||
# U2F
|
||||
softmmu_ss.add(when: 'CONFIG_USB_U2F', if_true: files('u2f.c'))
|
||||
softmmu_ss.add(when: ['CONFIG_LINUX', 'CONFIG_USB_U2F'], if_true: files('u2f-passthru.c'))
|
||||
if u2f.found()
|
||||
softmmu_ss.add(when: 'CONFIG_USB_U2F', if_true: [u2f, files('u2f-emulated.c')])
|
||||
endif
|
||||
|
||||
# usb redirect
|
||||
if config_host.has_key('CONFIG_USB_REDIR')
|
||||
usbredir_ss = ss.source_set()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue